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.001895/0.001895, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002377/0.002377, allocations: 213.7 kB / 24.54 MB, free: 4.02 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.588/1.588, allocations: 230.3 MB / 258 MB, free: 8.199 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.23/0.23, allocations: 46.88 MB / 361.3 MB, free: 4.43 MB / 286.1 MB " [Timeout remaining time 180] 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.002325/0.002325, allocations: 76.11 kB / 0.497 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4474, allocations: 66.02 MB / 0.5615 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003111/0.4505, allocations: 1.752 MB / 0.5632 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001757/0.4507, allocations: 79.67 kB / 0.5633 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.4507, allocations: 4 kB / 0.5633 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.087e-05/0.4508, allocations: 15.84 kB / 0.5633 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.917e-05/0.4509, allocations: 19.8 kB / 0.5633 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.502e-05/0.4509, allocations: 23.97 kB / 0.5634 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.4511, allocations: 107.6 kB / 0.5635 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.4513, allocations: 39.97 kB / 0.5635 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.4513, allocations: 39.86 kB / 0.5635 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.4514, allocations: 51.78 kB / 0.5636 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.4515, allocations: 8 kB / 0.5636 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.007e-05/0.4515, allocations: 12 kB / 0.5636 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.4515, allocations: 27.91 kB / 0.5636 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.4516, allocations: 51.8 kB / 0.5637 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.4518, allocations: 118 kB / 0.5638 GB, free: 2.242 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4518, allocations: 0 / 0.5638 GB, free: 2.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4518, allocations: 0 / 0.5638 GB, free: 2.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.4518, allocations: 0 / 0.5638 GB, free: 2.242 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.0005295/0.4523, allocations: 330.2 kB / 0.5641 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4523, allocations: 11.97 kB / 0.5641 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.4524, allocations: 16.84 kB / 0.5641 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.4525, allocations: 118.5 kB / 0.5642 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.4525, allocations: 8.609 kB / 0.5643 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.4525, allocations: 12.38 kB / 0.5643 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.4528, allocations: 129.5 kB / 0.5644 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.4528, allocations: 4.172 kB / 0.5644 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.4528, allocations: 3.938 kB / 0.5644 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.4528, allocations: 8 kB / 0.5644 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.4529, allocations: 63.98 kB / 0.5645 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008864/0.4538, allocations: 0.6836 MB / 0.5651 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.4539, allocations: 173.1 kB / 0.5653 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.454, allocations: 80.14 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.499e-05/0.454, allocations: 79.28 kB / 0.5654 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/0.4541, allocations: 105.8 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.4541, allocations: 0 / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.989e-05/0.4542, allocations: 33.7 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.4543, allocations: 138.6 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.4544, allocations: 153.5 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.4545, allocations: 25.7 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.4545, allocations: 119.9 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.4545, allocations: 7.938 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.4546, allocations: 25.66 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4547, allocations: 318.7 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.4548, allocations: 12 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-05/0.4548, allocations: 49.14 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.4549, allocations: 53.09 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4549, allocations: 4 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001664/0.455, allocations: 69.56 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4551, allocations: 4 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4551, allocations: 4 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4551, allocations: 4.188 kB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.4552, allocations: 15.92 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4552, allocations: 4 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.4552, allocations: 15.88 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4552, allocations: 7.938 kB / 0.5666 GB, free: 15.14 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.0001222/0.4554, allocations: 189.2 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/0.4554, allocations: 118 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.4555, allocations: 116.5 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.571e-05/0.4556, allocations: 184.3 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.678e-05/0.4557, allocations: 180.2 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.169e-05/0.4557, allocations: 176.3 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.4561, allocations: 416.1 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-05/0.4561, allocations: 101 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.524e-05/0.4562, allocations: 113 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-05/0.4562, allocations: 180.4 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.018e-05/0.4563, allocations: 176.3 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.093e-05/0.4564, allocations: 188.2 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.438e-05/0.4565, allocations: 180.3 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.4567, allocations: 315.6 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.323e-05/0.4567, allocations: 112.9 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.4568, allocations: 184.2 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.4569, allocations: 105 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.457, allocations: 180.3 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.4571, allocations: 108.9 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.466e-05/0.4572, allocations: 113.5 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4572, allocations: 0 / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.4574, allocations: 23.88 kB / 0.5699 GB, free: 11.55 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.0001512/0.4576, allocations: 171 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.912e-05/0.4577, allocations: 20.19 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4577, allocations: 4.062 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.4577, allocations: 4 kB / 0.5701 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.4581, allocations: 455.7 kB / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.4585, allocations: 246.8 kB / 0.5707 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.4588, allocations: 0.6924 MB / 0.5714 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.994e-05/0.4589, allocations: 7.984 kB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.4589, allocations: 11.44 kB / 0.5714 GB, free: 9.895 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4589, allocations: 0 / 0.5714 GB, free: 9.895 MB / 414.1 MB Notification: Performance of Templates: time 0.002852/0.4617, allocations: 441 kB / 0.5718 GB, free: 9.465 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.43267841078341]