Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 215.2 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2858/0.2858, allocations: 46.91 MB / 359.4 MB, free: 4.859 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 79.86 kB / 0.4946 GB, free: 8.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4614, allocations: 65.98 MB / 0.5591 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003686/0.4651, allocations: 1.744 MB / 0.5608 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001981/0.4653, allocations: 71.67 kB / 0.5608 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.4653, allocations: 4 kB / 0.5608 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.633e-05/0.4654, allocations: 19.84 kB / 0.5609 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.26e-05/0.4655, allocations: 27.77 kB / 0.5609 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.4656, allocations: 19.98 kB / 0.5609 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.4658, allocations: 107.6 kB / 0.561 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.466, allocations: 35.97 kB / 0.561 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.35e-05/0.466, allocations: 39.86 kB / 0.5611 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.4662, allocations: 51.77 kB / 0.5611 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.4662, allocations: 12 kB / 0.5611 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.417e-05/0.4662, allocations: 12 kB / 0.5611 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.4663, allocations: 15.98 kB / 0.5612 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.169e-05/0.4663, allocations: 59.67 kB / 0.5612 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.4665, allocations: 121.9 kB / 0.5613 GB, free: 2.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4665, allocations: 4 kB / 0.5613 GB, free: 2.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4665, allocations: 4 kB / 0.5613 GB, free: 2.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.4665, allocations: 0 / 0.5613 GB, free: 2.734 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.0006918/0.4672, allocations: 402.1 kB / 0.5617 GB, free: 2.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4673, allocations: 12.03 kB / 0.5617 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.4673, allocations: 16.83 kB / 0.5618 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.4675, allocations: 168.3 kB / 0.5619 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4675, allocations: 12.55 kB / 0.5619 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.4675, allocations: 8.375 kB / 0.5619 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.4678, allocations: 129.6 kB / 0.5621 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4678, allocations: 192 / 0.5621 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.4678, allocations: 11.94 kB / 0.5621 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4678, allocations: 0 / 0.5621 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.468, allocations: 63.98 kB / 0.5621 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.469, allocations: 0.7236 MB / 0.5628 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.4691, allocations: 177.1 kB / 0.563 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.4692, allocations: 80.14 kB / 0.5631 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.4693, allocations: 75.28 kB / 0.5632 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/0.4693, allocations: 109.8 kB / 0.5633 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4693, allocations: 3.938 kB / 0.5633 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.371e-05/0.4694, allocations: 29.7 kB / 0.5633 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/0.4695, allocations: 130.6 kB / 0.5634 GB, free: 408 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.4697, allocations: 157.5 kB / 0.5636 GB, free: 240 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4697, allocations: 25.7 kB / 0.5636 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.4698, allocations: 123.9 kB / 0.5637 GB, free: 80 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.997e-06/0.4698, allocations: 4 kB / 0.5637 GB, free: 76 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.4698, allocations: 25.61 kB / 0.5637 GB, free: 44 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.47, allocations: 326.8 kB / 0.564 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.4701, allocations: 8 kB / 0.5641 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.4701, allocations: 45.14 kB / 0.5641 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.831e-05/0.4702, allocations: 53.09 kB / 0.5641 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4702, allocations: 0 / 0.5641 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001725/0.4704, allocations: 73.56 kB / 0.5642 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4704, allocations: 8 kB / 0.5642 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4704, allocations: 0 / 0.5642 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.4704, allocations: 4 kB / 0.5642 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.4705, allocations: 11.94 kB / 0.5642 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4705, allocations: 3.984 kB / 0.5642 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.4706, allocations: 15.89 kB / 0.5643 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.4706, allocations: 7.938 kB / 0.5643 GB, free: 15.45 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.0001494/0.4707, allocations: 193.3 kB / 0.5645 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4708, allocations: 113.9 kB / 0.5646 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.4709, allocations: 120.7 kB / 0.5647 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/0.471, allocations: 180.2 kB / 0.5648 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001085/0.4711, allocations: 180.2 kB / 0.565 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.654e-05/0.4712, allocations: 180.3 kB / 0.5652 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.4716, allocations: 445.1 kB / 0.5656 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.354e-05/0.4716, allocations: 101 kB / 0.5657 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.515e-05/0.4717, allocations: 105 kB / 0.5658 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.4718, allocations: 184.4 kB / 0.566 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.4719, allocations: 180.3 kB / 0.5662 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001023/0.472, allocations: 188.2 kB / 0.5663 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.737e-05/0.4721, allocations: 176.3 kB / 0.5665 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.4723, allocations: 319.6 kB / 0.5668 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.4725, allocations: 182 kB / 0.567 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.4726, allocations: 180.2 kB / 0.5672 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.4727, allocations: 113 kB / 0.5673 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.4728, allocations: 188.2 kB / 0.5674 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.4729, allocations: 101 kB / 0.5675 GB, free: 11.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.966e-05/0.473, allocations: 117.4 kB / 0.5677 GB, free: 11.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.473, allocations: 0 / 0.5677 GB, free: 11.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.4732, allocations: 19.88 kB / 0.5677 GB, free: 11.73 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.0001651/0.4734, allocations: 174.5 kB / 0.5678 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.4735, allocations: 23.92 kB / 0.5679 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4735, allocations: 0 / 0.5679 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.4735, allocations: 0 / 0.5679 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.474, allocations: 460.1 kB / 0.5683 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005162/0.4745, allocations: 246.5 kB / 0.5685 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.4749, allocations: 0.6885 MB / 0.5692 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.475, allocations: 7.984 kB / 0.5692 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.475, allocations: 11.44 kB / 0.5692 GB, free: 10.07 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.475, allocations: 0 / 0.5692 GB, free: 10.07 MB / 414.1 MB Notification: Performance of Templates: time 0.00307/0.4781, allocations: 421 kB / 0.5696 GB, free: 9.664 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.354335764423013]