Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001641/0.002777, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002403, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9568/0.9568, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1165/1.073, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.771e-05, allocations: 6.25 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.003223/0.003241, allocations: 3.511 MB / 248.1 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009841/0.004225, allocations: 0.8681 MB / 248.9 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.004343, allocations: 11.94 kB / 248.9 MB, free: 9.891 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.004478, allocations: 71.28 kB / 249 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.004653, allocations: 142.7 kB / 249.1 MB, free: 9.68 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.004844, allocations: 139.7 kB / 249.3 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.005183, allocations: 0.5325 MB / 249.8 MB, free: 9.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.005326, allocations: 96.34 kB / 249.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.00564, allocations: 334.4 kB / 250.2 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.005802, allocations: 155.6 kB / 250.4 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.005848, allocations: 40 kB / 250.4 MB, free: 8.391 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.871e-05/0.005937, allocations: 44 kB / 250.5 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.005982, allocations: 71.62 kB / 250.5 MB, free: 8.277 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.849e-05/0.006081, allocations: 127.8 kB / 250.7 MB, free: 8.152 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.006374, allocations: 310.8 kB / 251 MB, free: 7.848 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.006387, allocations: 0 / 251 MB, free: 7.848 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006388, allocations: 0 / 251 MB, free: 7.848 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.006403, allocations: 4 kB / 251 MB, free: 7.844 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0006964/0.007099, allocations: 0.7253 MB / 251.7 MB, free: 7.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.007128, allocations: 11.98 kB / 251.7 MB, free: 7.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.00738, allocations: 166 kB / 251.9 MB, free: 6.902 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.007625, allocations: 237.6 kB / 252.1 MB, free: 6.641 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.007643, allocations: 21.03 kB / 252.1 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.007669, allocations: 32.38 kB / 252.2 MB, free: 6.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.007956, allocations: 357 kB / 252.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.007967, allocations: 192 / 252.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.007986, allocations: 16.38 kB / 252.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.007997, allocations: 11.94 kB / 252.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.008127, allocations: 96.47 kB / 252.6 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009384/0.009066, allocations: 1.019 MB / 253.6 MB, free: 4.996 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.009227, allocations: 138.5 kB / 253.8 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.009287, allocations: 52.84 kB / 253.8 MB, free: 4.797 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.009305, allocations: 4 kB / 253.8 MB, free: 4.793 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.009325, allocations: 30.56 kB / 253.9 MB, free: 4.754 MB / 250.7 MB Notification: Performance of pre-optimization done (n=24): time 1.272e-06/0.009326, allocations: 0 / 253.9 MB, free: 4.754 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005425/0.009869, allocations: 301.2 kB / 254.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.009894, allocations: 51.41 kB / 254.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.01004, allocations: 274.9 kB / 254.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.01005, allocations: 29.7 kB / 254.5 MB, free: 4.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.01013, allocations: 197 kB / 254.7 MB, free: 3.871 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.01017, allocations: 83.31 kB / 254.8 MB, free: 3.789 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.01022, allocations: 45.69 kB / 254.8 MB, free: 3.738 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.0103, allocations: 350.7 kB / 255.2 MB, free: 3.387 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.283e-05/0.01033, allocations: 20 kB / 255.2 MB, free: 3.367 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.636e-05/0.01039, allocations: 72.19 kB / 255.3 MB, free: 3.281 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.42e-05/0.01048, allocations: 104.1 kB / 255.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01049, allocations: 0 / 255.4 MB, free: 3.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002174/0.0107, allocations: 215.8 kB / 255.6 MB, free: 2.938 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.01072, allocations: 7.938 kB / 255.6 MB, free: 2.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01072, allocations: 4 kB / 255.6 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.0109, allocations: 82.5 kB / 255.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.01099, allocations: 35.91 kB / 255.7 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.01298, allocations: 4.158 MB / 259.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.01306, allocations: 23.89 kB / 259.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.01307, allocations: 8.094 kB / 259.9 MB, free: 14.36 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (With_Ron_Goff_Vknee.off,With_Ron_Goff.off,Ideal.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 8.015e-05/0.01315, allocations: 121.8 kB / 260 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.01319, allocations: 27.91 kB / 260 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.01322, allocations: 39.17 kB / 260.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.01322, allocations: 4 kB / 260.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01322, allocations: 0 / 260.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01323, allocations: 3.984 kB / 260.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.01339, allocations: 181.6 kB / 260.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01339, allocations: 0 / 260.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.083e-05/0.01345, allocations: 27.92 kB / 260.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.0135, allocations: 39.77 kB / 260.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/0.01365, allocations: 86.48 kB / 260.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.01366, allocations: 11.94 kB / 260.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.01546, allocations: 4.135 MB / 264.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01546, allocations: 0 / 264.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.01564, allocations: 272.8 kB / 264.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.01566, allocations: 4 kB / 264.8 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.116e-05/0.01575, allocations: 20.05 kB / 264.8 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.0158, allocations: 27.95 kB / 264.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01581, allocations: 8 kB / 264.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.501e-05/0.01587, allocations: 104.6 kB / 265 MB, free: 8.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01587, allocations: 0 / 265 MB, free: 8.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.01623, allocations: 119.7 kB / 265.1 MB, free: 8.828 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 7.841e-05/0.01631, allocations: 80.42 kB / 265.2 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.01665, allocations: 491.8 kB / 265.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.01666, allocations: 8 kB / 265.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.01686, allocations: 432.4 kB / 266.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.01707, allocations: 81.25 kB / 266.2 MB, free: 7.672 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.02015, allocations: 0.6454 MB / 266.8 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.116e-05/0.02022, allocations: 100.6 kB / 266.9 MB, free: 6.879 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.742e-05/0.02031, allocations: 14.3 kB / 266.9 MB, free: 6.863 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.02043, allocations: 107.3 kB / 267 MB, free: 6.758 MB / 266.7 MB Notification: Performance of SimCode: time 1.333e-06/0.02043, allocations: 0 / 267 MB, free: 6.758 MB / 266.7 MB Notification: Performance of Templates: time 0.007191/0.02762, allocations: 5.415 MB / 272.4 MB, free: 1.426 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6258060317486525]