Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.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.001779/0.001779, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.00246/0.00246, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.526/1.526, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2549/0.2549, allocations: 46.96 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 63.91 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3598, allocations: 66.04 MB / 0.5611 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003304/0.3631, allocations: 1.674 MB / 0.5627 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.3632, allocations: 75.66 kB / 0.5628 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.3633, allocations: 4 kB / 0.5628 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.605e-05/0.3634, allocations: 15.84 kB / 0.5628 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.052e-05/0.3634, allocations: 23.8 kB / 0.5628 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.624e-05/0.3635, allocations: 23.97 kB / 0.5628 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3637, allocations: 103.6 kB / 0.5629 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.3638, allocations: 39.95 kB / 0.563 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.3639, allocations: 39.86 kB / 0.563 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.374e-05/0.364, allocations: 35.84 kB / 0.563 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.364, allocations: 12 kB / 0.5631 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.137e-05/0.364, allocations: 15.94 kB / 0.5631 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.3641, allocations: 23.92 kB / 0.5631 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.3641, allocations: 47.8 kB / 0.5631 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.3643, allocations: 125.9 kB / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3643, allocations: 0 / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3643, allocations: 0 / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3643, allocations: 0 / 0.5633 GB, free: 1.887 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005583/0.3649, allocations: 322.2 kB / 0.5636 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3649, allocations: 8.031 kB / 0.5636 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.365, allocations: 20.78 kB / 0.5636 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3651, allocations: 122.4 kB / 0.5637 GB, free: 1.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3651, allocations: 4.609 kB / 0.5637 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.3651, allocations: 16.38 kB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.3654, allocations: 121.6 kB / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3654, allocations: 192 / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.3654, allocations: 11.94 kB / 0.5639 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3654, allocations: 3.984 kB / 0.5639 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.3655, allocations: 63.92 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/0.3665, allocations: 0.6257 MB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.3666, allocations: 173.1 kB / 0.5647 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.3666, allocations: 88.14 kB / 0.5648 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.46e-05/0.3667, allocations: 75.28 kB / 0.5649 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.845e-05/0.3667, allocations: 105.8 kB / 0.565 GB, free: 4 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.3667, allocations: 0 / 0.565 GB, free: 4 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001031/0.3668, allocations: 29.7 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.3669, allocations: 130.6 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3671, allocations: 129.7 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3671, allocations: 25.7 kB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.3672, allocations: 132 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.3672, allocations: 0 / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.3672, allocations: 25.7 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3674, allocations: 322.8 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.3674, allocations: 4 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.3674, allocations: 49.08 kB / 0.5658 GB, free: 15.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.3675, allocations: 49.09 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3675, allocations: 0 / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000155/0.3677, allocations: 77.56 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3677, allocations: 4 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3677, allocations: 3.938 kB / 0.5659 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3677, allocations: 4 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.3678, allocations: 8 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3678, allocations: 8.359 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.3678, allocations: 3.953 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3678, allocations: 4 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002071/0.3681, allocations: 197.2 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.3681, allocations: 121.9 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.3683, allocations: 112.2 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.963e-05/0.3683, allocations: 184.2 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.815e-05/0.3684, allocations: 176.3 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001047/0.3685, allocations: 180.3 kB / 0.5668 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.3688, allocations: 384.7 kB / 0.5672 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/0.3689, allocations: 101.1 kB / 0.5673 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.3689, allocations: 108.9 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.624e-05/0.369, allocations: 180.4 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.758e-05/0.3691, allocations: 184.3 kB / 0.5678 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.623e-05/0.3692, allocations: 184.2 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.351e-05/0.3693, allocations: 184.3 kB / 0.5681 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.3695, allocations: 311.6 kB / 0.5684 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.3695, allocations: 113 kB / 0.5685 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.3696, allocations: 184.2 kB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3697, allocations: 105 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.3698, allocations: 180.2 kB / 0.569 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-05/0.3699, allocations: 101 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.055e-05/0.3699, allocations: 95.27 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3699, allocations: 0 / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3702, allocations: 27.89 kB / 0.5692 GB, free: 11.39 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001283/0.3703, allocations: 166.5 kB / 0.5693 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.3704, allocations: 23.92 kB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3704, allocations: 0 / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.226e-06/0.3704, allocations: 7.875 kB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.3709, allocations: 459.6 kB / 0.5698 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.3713, allocations: 255.1 kB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.845e-05/0.3713, allocations: 81.33 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.142e-05/0.3714, allocations: 0 / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.3714, allocations: 7.438 kB / 0.5701 GB, free: 10.35 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3714, allocations: 0 / 0.5701 GB, free: 10.35 MB / 414.1 MB Notification: Performance of Templates: time 0.002519/0.3739, allocations: 349.4 kB / 0.5705 GB, free: 10.01 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.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: 5.1885467525571585]