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.0009648/0.0009648, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001007/0.001007, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9356/0.9356, allocations: 177 MB / 205.2 MB, free: 5.039 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.2614/0.2614, allocations: 34.86 MB / 296.6 MB, free: 456 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.112e-06/1.112e-06, allocations: 0 / 325.9 MB, free: 7.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.75e-05, allocations: 3.406 kB / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001838/0.001856, allocations: 1.745 MB / 327.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.00202, allocations: 79.66 kB / 327.7 MB, free: 5.359 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.002066, allocations: 4 kB / 327.7 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.005e-05/0.002116, allocations: 19.8 kB / 327.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.002179, allocations: 23.78 kB / 327.7 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.54e-05/0.002255, allocations: 23.95 kB / 327.8 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.579e-05/0.00235, allocations: 107.5 kB / 327.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.002472, allocations: 39.95 kB / 327.9 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.002527, allocations: 59.89 kB / 328 MB, free: 5.086 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.262e-05/0.00261, allocations: 35.89 kB / 328 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.002635, allocations: 12 kB / 328 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.002646, allocations: 16 kB / 328 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.002671, allocations: 23.91 kB / 328.1 MB, free: 5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.002702, allocations: 35.92 kB / 328.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.002842, allocations: 71.73 kB / 328.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.002844, allocations: 0 / 328.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.002845, allocations: 0 / 328.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.002847, allocations: 0 / 328.2 MB, free: 4.895 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.0002859/0.003133, allocations: 306.8 kB / 328.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.003165, allocations: 12.03 kB / 328.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.003195, allocations: 16.92 kB / 328.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.422e-05/0.003269, allocations: 117.7 kB / 328.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.003282, allocations: 12.61 kB / 328.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.003295, allocations: 8.375 kB / 328.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.003404, allocations: 113.5 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.003411, allocations: 192 / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.003422, allocations: 8.375 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.003428, allocations: 4.375 kB / 328.8 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.813e-05/0.003466, allocations: 37.23 kB / 328.8 MB, free: 4.211 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.003953, allocations: 0.5634 MB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.102e-05/0.004014, allocations: 165.1 kB / 329.5 MB, free: 3.445 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.004035, allocations: 88.12 kB / 329.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.004053, allocations: 79.27 kB / 329.7 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.004086, allocations: 113.7 kB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 6.72e-07/0.004086, allocations: 0 / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.279e-05/0.004129, allocations: 29.7 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.00417, allocations: 126.7 kB / 329.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.004239, allocations: 126.6 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.004245, allocations: 25.7 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.004293, allocations: 132 kB / 330.2 MB, free: 2.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-06/0.004294, allocations: 4 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.004319, allocations: 25.67 kB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.004385, allocations: 318.8 kB / 330.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-06/0.004392, allocations: 4 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.004417, allocations: 41.09 kB / 330.6 MB, free: 2.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.081e-05/0.004458, allocations: 49.08 kB / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.004459, allocations: 0 / 330.6 MB, free: 2.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.942e-05/0.004539, allocations: 65.5 kB / 330.7 MB, free: 2.129 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.00455, allocations: 4 kB / 330.7 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.004555, allocations: 4 kB / 330.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.004566, allocations: 0 / 330.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.366e-05/0.004609, allocations: 15.92 kB / 330.7 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.004613, allocations: 4 kB / 330.7 MB, free: 2.102 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.004636, allocations: 8.188 kB / 330.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.00464, allocations: 0 / 330.7 MB, free: 2.094 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 0.0001922/0.004832, allocations: 193.1 kB / 330.9 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.004868, allocations: 116.8 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.674e-05/0.004905, allocations: 108.4 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/0.004946, allocations: 180.3 kB / 331.3 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.901e-05/0.004985, allocations: 180.2 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.002e-05/0.005025, allocations: 180.3 kB / 331.7 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.005165, allocations: 337.4 kB / 332 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-05/0.005195, allocations: 105 kB / 332.1 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.429e-05/0.005219, allocations: 105 kB / 332.2 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.476e-05/0.005264, allocations: 188.1 kB / 332.4 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.005307, allocations: 176.3 kB / 332.6 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.99e-05/0.005367, allocations: 184.1 kB / 332.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-05/0.005412, allocations: 184.2 kB / 332.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.005515, allocations: 308 kB / 333.2 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.005552, allocations: 108.9 kB / 333.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.005607, allocations: 192.3 kB / 333.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.118e-05/0.005658, allocations: 108.9 kB / 333.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.0057, allocations: 176.3 kB / 333.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.005723, allocations: 104.9 kB / 333.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.018e-05/0.005744, allocations: 20.84 kB / 333.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.005744, allocations: 0 / 333.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000143/0.005887, allocations: 23.95 kB / 334 MB, free: 14.7 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 8.079e-05/0.005968, allocations: 147.7 kB / 334.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.351e-05/0.006021, allocations: 20.78 kB / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.006026, allocations: 4 kB / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.006027, allocations: 0 / 334.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.006448, allocations: 465.4 kB / 334.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002409/0.006689, allocations: 260.8 kB / 334.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.779e-05/0.006717, allocations: 55.36 kB / 334.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.139e-05/0.006738, allocations: 7.984 kB / 334.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.006763, allocations: 47.38 kB / 334.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.006763, allocations: 0 / 334.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of Templates: time 0.001606/0.008369, allocations: 302.8 kB / 335.2 MB, free: 13.37 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 -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.751463680062443]