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.001031/0.001031, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001167/0.001167, allocations: 165.2 kB / 25.61 MB, free: 8.883 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.017/1.017, allocations: 177 MB / 205.9 MB, free: 4.422 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.1573/0.1573, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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 2.444e-06/2.444e-06, allocations: 0 / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.575e-05, allocations: 2.312 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002103/0.002119, allocations: 1.734 MB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001622/0.002281, allocations: 71.67 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.002345, allocations: 4 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 5.744e-05/0.002403, allocations: 15.84 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.698e-05/0.00248, allocations: 31.7 kB / 381.8 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.00259, allocations: 27.97 kB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.002718, allocations: 103.5 kB / 382 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.002901, allocations: 39.91 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.002971, allocations: 71.8 kB / 382.1 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.003077, allocations: 31.91 kB / 382.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.0031, allocations: 8 kB / 382.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.003112, allocations: 12 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.003141, allocations: 27.91 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.003172, allocations: 27.98 kB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.0033, allocations: 75.73 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.003302, allocations: 0 / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.003304, allocations: 4 kB / 382.3 MB, free: 20.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.00331, allocations: 4 kB / 382.3 MB, free: 20.48 MB / 314.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.0003992/0.003709, allocations: 428.5 kB / 382.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.003753, allocations: 11.97 kB / 382.7 MB, free: 20 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.003791, allocations: 20.89 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.71e-05/0.003878, allocations: 116.5 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.003892, allocations: 8.609 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.003904, allocations: 12.38 kB / 382.8 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.004035, allocations: 108.6 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.004043, allocations: 192 / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.004053, allocations: 8.375 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.004059, allocations: 4.375 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.153e-05/0.0041, allocations: 42.59 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.00451, allocations: 0.7847 MB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.004563, allocations: 269.4 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.00458, allocations: 130.9 kB / 384.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.004593, allocations: 123.1 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.004617, allocations: 164.6 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.004619, allocations: 4 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.224e-05/0.004671, allocations: 37.62 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.004714, allocations: 170.6 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.985e-05/0.004784, allocations: 173.9 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.487e-06/0.004788, allocations: 25.7 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.004834, allocations: 186.6 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.004836, allocations: 0 / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.004861, allocations: 23.38 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.00492, allocations: 0.4884 MB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.004927, allocations: 4 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.004955, allocations: 54.12 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.148e-05/0.005006, allocations: 73.98 kB / 385.7 MB, free: 16.78 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.005009, allocations: 0 / 385.7 MB, free: 16.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001005/0.005109, allocations: 77.61 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.005127, allocations: 9.547 kB / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.005133, allocations: 0 / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.005146, allocations: 4 kB / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.005198, allocations: 8 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.005204, allocations: 7.984 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.005226, allocations: 4 kB / 385.8 MB, free: 16.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.005232, allocations: 4 kB / 385.8 MB, free: 16.66 MB / 314.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 7.034e-05/0.005302, allocations: 283.6 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.005334, allocations: 156.8 kB / 386.2 MB, free: 16.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.005364, allocations: 156.4 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.375e-05/0.005398, allocations: 272 kB / 386.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.732e-05/0.005435, allocations: 264.1 kB / 386.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-05/0.005477, allocations: 272 kB / 387.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.005622, allocations: 492.5 kB / 387.6 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/0.005646, allocations: 148.9 kB / 387.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.058e-05/0.005666, allocations: 148.8 kB / 387.9 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.7e-05/0.005703, allocations: 264.1 kB / 388.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/0.005742, allocations: 276 kB / 388.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-05/0.005785, allocations: 268.1 kB / 388.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.244e-05/0.005838, allocations: 272.3 kB / 389 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.005945, allocations: 456 kB / 389.4 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.005979, allocations: 152.8 kB / 389.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.006049, allocations: 276 kB / 389.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.057e-05/0.006099, allocations: 152.8 kB / 390 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.006141, allocations: 268.1 kB / 390.3 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.006165, allocations: 148.9 kB / 390.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.137e-05/0.006196, allocations: 131.2 kB / 390.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006197, allocations: 3.938 kB / 390.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001581/0.006355, allocations: 19.89 kB / 390.6 MB, free: 11.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.468e-05/0.006439, allocations: 214.4 kB / 390.8 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.452e-05/0.006534, allocations: 27.61 kB / 390.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.006535, allocations: 4 kB / 390.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.006536, allocations: 0 / 390.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.00675, allocations: 0.7001 MB / 391.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.007, allocations: 294.5 kB / 391.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.724e-05/0.007028, allocations: 63.2 kB / 391.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.316e-05/0.007051, allocations: 4.375 kB / 391.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.007079, allocations: 70.2 kB / 391.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007079, allocations: 0 / 391.9 MB, free: 10.27 MB / 314.7 MB Notification: Performance of Templates: time 0.001902/0.008981, allocations: 306.2 kB / 392.2 MB, free: 9.973 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: 3.3166039790958166]