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.0009346/0.0009346, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009837/0.0009837, allocations: 161 kB / 24.91 MB, free: 9.184 MB / 18.57 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.008/1.008, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] 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.2829/0.2829, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.7 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 1.082e-06/1.082e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.815e-05, allocations: 3.562 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001992/0.00201, allocations: 1.794 MB / 327.7 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001392/0.002149, allocations: 79.61 kB / 327.8 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.002199, allocations: 0 / 327.8 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.365e-05/0.002252, allocations: 15.86 kB / 327.8 MB, free: 5.234 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.002319, allocations: 31.77 kB / 327.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.716e-05/0.002396, allocations: 19.97 kB / 327.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.707e-05/0.002493, allocations: 99.53 kB / 328 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.002617, allocations: 47.94 kB / 328 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.471e-05/0.002682, allocations: 63.88 kB / 328.1 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.002765, allocations: 35.91 kB / 328.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.002784, allocations: 8 kB / 328.1 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.002797, allocations: 12 kB / 328.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.00282, allocations: 23.91 kB / 328.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.002854, allocations: 39.91 kB / 328.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.002962, allocations: 75.73 kB / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.002963, allocations: 0 / 328.3 MB, free: 4.785 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.002964, allocations: 3.938 kB / 328.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.002968, allocations: 0 / 328.3 MB, free: 4.781 MB / 298.7 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.0002988/0.003267, allocations: 306.2 kB / 328.6 MB, free: 4.457 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.003296, allocations: 8.031 kB / 328.6 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.003324, allocations: 16.92 kB / 328.6 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.461e-05/0.003399, allocations: 109.7 kB / 328.7 MB, free: 4.301 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.003413, allocations: 12.61 kB / 328.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.003424, allocations: 12.31 kB / 328.7 MB, free: 4.277 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.003531, allocations: 114.3 kB / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.00354, allocations: 4.188 kB / 328.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.003549, allocations: 4.375 kB / 328.8 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.003556, allocations: 4.375 kB / 328.8 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.721e-05/0.003593, allocations: 32.92 kB / 328.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.004003, allocations: 0.5555 MB / 329.4 MB, free: 3.527 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.233e-05/0.004055, allocations: 169.1 kB / 329.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.004077, allocations: 84.14 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.004093, allocations: 79.28 kB / 329.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.004129, allocations: 113.8 kB / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.00413, allocations: 0 / 329.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.755e-05/0.004178, allocations: 33.69 kB / 329.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.004214, allocations: 126.7 kB / 330 MB, free: 2.891 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.004285, allocations: 138 kB / 330.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.852e-06/0.004292, allocations: 29.7 kB / 330.2 MB, free: 2.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.00434, allocations: 124 kB / 330.3 MB, free: 2.586 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.004342, allocations: 4 kB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.004368, allocations: 21.67 kB / 330.3 MB, free: 2.555 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.896e-05/0.004437, allocations: 322.8 kB / 330.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-06/0.004443, allocations: 4 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.004466, allocations: 37.16 kB / 330.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.004507, allocations: 49.06 kB / 330.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004509, allocations: 0 / 330.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.678e-05/0.004586, allocations: 73.44 kB / 330.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.004598, allocations: 8 kB / 330.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.004602, allocations: 0 / 330.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.004613, allocations: 3.938 kB / 330.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.445e-05/0.004657, allocations: 15.98 kB / 330.8 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.00466, allocations: 0 / 330.8 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.004682, allocations: 7.938 kB / 330.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.004686, allocations: 4 kB / 330.8 MB, free: 1.988 MB / 298.7 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 6.035e-05/0.004746, allocations: 189.3 kB / 331 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.004783, allocations: 112.9 kB / 331.1 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.00482, allocations: 108.4 kB / 331.2 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/0.004862, allocations: 184.2 kB / 331.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.016e-05/0.004902, allocations: 176.3 kB / 331.6 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.241e-05/0.004945, allocations: 180.3 kB / 331.8 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.005083, allocations: 337.5 kB / 332.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.497e-05/0.005108, allocations: 109 kB / 332.2 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.005134, allocations: 108.9 kB / 332.3 MB, free: 432 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.203e-05/0.005176, allocations: 180.2 kB / 332.5 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.005218, allocations: 176.3 kB / 332.7 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.215e-05/0.005271, allocations: 192.1 kB / 332.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-05/0.00531, allocations: 176.3 kB / 333 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.502e-05/0.005405, allocations: 316 kB / 333.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.005437, allocations: 108.9 kB / 333.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.005487, allocations: 184.2 kB / 333.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.801e-05/0.005535, allocations: 104.9 kB / 333.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.005579, allocations: 180.2 kB / 333.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.005603, allocations: 105 kB / 334 MB, free: 14.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.73e-05/0.00562, allocations: 16.84 kB / 334 MB, free: 14.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00562, allocations: 0 / 334 MB, free: 14.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.005749, allocations: 23.89 kB / 334 MB, free: 14.61 MB / 314.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: 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 6.984e-05/0.005819, allocations: 151.7 kB / 334.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.069e-05/0.00587, allocations: 24.78 kB / 334.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.005873, allocations: 0 / 334.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.005875, allocations: 3.938 kB / 334.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.006068, allocations: 463.7 kB / 334.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.006291, allocations: 244.9 kB / 334.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.969e-05/0.006321, allocations: 59.72 kB / 335 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.672e-05/0.006338, allocations: 11.98 kB / 335 MB, free: 13.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.006363, allocations: 51.31 kB / 335 MB, free: 13.56 MB / 314.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006364, allocations: 0 / 335 MB, free: 13.56 MB / 314.7 MB Notification: Performance of Templates: time 0.001617/0.007981, allocations: 307.2 kB / 335.3 MB, free: 13.27 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.8137750029563904]