Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001323/0.001323, allocations: 88.16 kB / 21.44 MB, free: 276 kB / 14.72 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.001461/0.001461, allocations: 163.1 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 299 MB, free: 8.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.438e-05, allocations: 2.281 kB / 299 MB, free: 8.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.00447/0.004494, allocations: 3.143 MB / 302.1 MB, free: 5.637 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.005779, allocations: 0.772 MB / 302.9 MB, free: 4.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.00592, allocations: 7.938 kB / 302.9 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.006095, allocations: 63.36 kB / 302.9 MB, free: 4.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.00633, allocations: 146.6 kB / 303.1 MB, free: 4.641 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.006593, allocations: 103.8 kB / 303.2 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.007144, allocations: 0.5286 MB / 303.7 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.007335, allocations: 95.59 kB / 303.8 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.007674, allocations: 283.4 kB / 304.1 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.007897, allocations: 155.5 kB / 304.2 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.559e-05/0.007962, allocations: 43.94 kB / 304.3 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.008035, allocations: 40 kB / 304.3 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.181e-05/0.008117, allocations: 83.67 kB / 304.4 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.008295, allocations: 159.5 kB / 304.6 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.008815, allocations: 0.4984 MB / 305.1 MB, free: 2.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.008819, allocations: 0 / 305.1 MB, free: 2.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00882, allocations: 0 / 305.1 MB, free: 2.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.008826, allocations: 0 / 305.1 MB, free: 2.66 MB / 286.1 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.001125/0.009951, allocations: 0.6568 MB / 305.7 MB, free: 1.973 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.009984, allocations: 8.031 kB / 305.7 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.126e-05/0.01007, allocations: 48.66 kB / 305.8 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.01048, allocations: 253.6 kB / 306 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.01051, allocations: 21.03 kB / 306 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.01057, allocations: 36.36 kB / 306.1 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006707/0.01124, allocations: 432.4 kB / 306.5 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.01125, allocations: 8.062 kB / 306.5 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.01129, allocations: 16.38 kB / 306.5 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.0113, allocations: 11.94 kB / 306.5 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.01185, allocations: 266.4 kB / 306.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.0137, allocations: 1.222 MB / 308 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.01411, allocations: 218.2 kB / 308.2 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.01431, allocations: 92.81 kB / 308.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.01433, allocations: 4 kB / 308.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.01437, allocations: 38.56 kB / 308.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.01437, allocations: 0 / 308.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001436/0.0158, allocations: 472 kB / 308.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.01585, allocations: 55.41 kB / 308.9 MB, free: 14.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.01615, allocations: 296.5 kB / 309.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.01618, allocations: 29.7 kB / 309.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.01633, allocations: 216.3 kB / 309.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.01639, allocations: 71.38 kB / 309.5 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-05/0.01648, allocations: 65.64 kB / 309.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.01663, allocations: 334.8 kB / 309.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.01682, allocations: 79.97 kB / 309.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.01704, allocations: 120.2 kB / 310.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.01743, allocations: 200.1 kB / 310.3 MB, free: 13.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.01743, allocations: 8 kB / 310.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007129/0.01814, allocations: 351.8 kB / 310.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.01816, allocations: 4 kB / 310.6 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.01816, allocations: 4 kB / 310.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.01859, allocations: 118.5 kB / 310.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.01876, allocations: 35.98 kB / 310.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/0.02279, allocations: 4.573 MB / 315.3 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.023, allocations: 27.77 kB / 315.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.02302, allocations: 11.98 kB / 315.4 MB, free: 7.727 MB / 302.1 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 (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 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 0.0001636/0.02318, allocations: 145.8 kB / 315.5 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.02324, allocations: 27.81 kB / 315.5 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.997e-05/0.02331, allocations: 34.41 kB / 315.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.02331, allocations: 7.938 kB / 315.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.02331, allocations: 4.062 kB / 315.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.02332, allocations: 0 / 315.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.02366, allocations: 257.2 kB / 315.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.02366, allocations: 4 kB / 315.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.02378, allocations: 27.92 kB / 315.9 MB, free: 7.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003117/0.0241, allocations: 110.5 kB / 316 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.02411, allocations: 4 kB / 316 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.02792, allocations: 4.568 MB / 320.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02792, allocations: 0 / 320.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.02854, allocations: 406.6 kB / 321 MB, free: 1.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.02865, allocations: 51.72 kB / 321 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.02868, allocations: 192 / 321 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.0289, allocations: 23.98 kB / 321 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.02898, allocations: 31.89 kB / 321.1 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.029, allocations: 7.938 kB / 321.1 MB, free: 1.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.02922, allocations: 211.1 kB / 321.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02922, allocations: 4 kB / 321.3 MB, free: 1.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006431/0.02987, allocations: 111.8 kB / 321.4 MB, free: 1.34 MB / 302.1 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 0.0001409/0.03001, allocations: 103.2 kB / 321.5 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.03104, allocations: 0.5623 MB / 322 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03104, allocations: 4 kB / 322.1 MB, free: 0.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006673/0.03171, allocations: 480.2 kB / 322.5 MB, free: 120 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005872/0.03229, allocations: 52.69 kB / 322.6 MB, free: 68 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1452/0.1775, allocations: 0.5913 MB / 323.2 MB, free: 33.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.1777, allocations: 192.4 kB / 323.4 MB, free: 33.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.1778, allocations: 20.3 kB / 323.4 MB, free: 33.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.1779, allocations: 19.02 kB / 323.4 MB, free: 33.05 MB / 302.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1779, allocations: 0 / 323.4 MB, free: 33.05 MB / 302.1 MB Notification: Performance of Templates: time 0.01058/0.1884, allocations: 4.887 MB / 328.3 MB, free: 32.62 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.383262116461992]