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.0009401/0.0009401, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0009844/0.0009844, allocations: 161 kB / 24.99 MB, free: 8.223 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.005/1.005, allocations: 177 MB / 205.2 MB, free: 5.57 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.2516/0.2516, allocations: 34.87 MB / 296.6 MB, free: 500 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.513e-06/1.513e-06, allocations: 0 / 378.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.608e-05, allocations: 2.312 kB / 378.7 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002155/0.002181, allocations: 1.748 MB / 380.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001575/0.002338, allocations: 71.72 kB / 380.5 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.00239, allocations: 4 kB / 380.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.986e-05/0.00244, allocations: 19.8 kB / 380.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.002499, allocations: 27.72 kB / 380.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.993e-05/0.002579, allocations: 27.95 kB / 380.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.002683, allocations: 107.4 kB / 380.7 MB, free: 400 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.002827, allocations: 47.97 kB / 380.8 MB, free: 352 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.807e-05/0.002885, allocations: 59.94 kB / 380.8 MB, free: 292 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.705e-05/0.002982, allocations: 27.91 kB / 380.9 MB, free: 264 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.003009, allocations: 12 kB / 380.9 MB, free: 252 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.00302, allocations: 8 kB / 380.9 MB, free: 244 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.003043, allocations: 27.91 kB / 380.9 MB, free: 216 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.003082, allocations: 35.92 kB / 380.9 MB, free: 180 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.003215, allocations: 79.72 kB / 381 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003218, allocations: 0 / 381 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003219, allocations: 0 / 381 MB, free: 100 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.003224, allocations: 4 kB / 381 MB, free: 96 kB / 346.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.0004454/0.003669, allocations: 424.7 kB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.003714, allocations: 8.031 kB / 381.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.003766, allocations: 20.89 kB / 381.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.003878, allocations: 120.5 kB / 381.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.003894, allocations: 8.609 kB / 381.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.00391, allocations: 12.38 kB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.004073, allocations: 123.1 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.004082, allocations: 4.125 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.004095, allocations: 4.375 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.004105, allocations: 12.12 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.004172, allocations: 39.09 kB / 381.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.004781, allocations: 0.8154 MB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.004891, allocations: 273.4 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.005075, allocations: 126.9 kB / 383 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.005106, allocations: 119.2 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.005158, allocations: 160.5 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.00516, allocations: 0 / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.525e-05/0.005235, allocations: 29.7 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.005298, allocations: 170.6 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.005426, allocations: 185.8 kB / 383.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.005436, allocations: 25.7 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.005521, allocations: 178.7 kB / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.005524, allocations: 0 / 383.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.005553, allocations: 23.38 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.005657, allocations: 0.4884 MB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.00567, allocations: 0 / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.005704, allocations: 70.05 kB / 384.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.00576, allocations: 66.06 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.005762, allocations: 3.938 kB / 384.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001246/0.005887, allocations: 73.52 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.005902, allocations: 8.188 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.005907, allocations: 4 kB / 384.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.005923, allocations: 7.984 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.005987, allocations: 11.94 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.005993, allocations: 0 / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.006019, allocations: 7.984 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006025, allocations: 4 kB / 384.6 MB, free: 12.23 MB / 362.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 8.523e-05/0.00611, allocations: 279.6 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.006155, allocations: 160.8 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.0062, allocations: 152.4 kB / 385.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.246e-05/0.006252, allocations: 264.1 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.656e-05/0.006309, allocations: 276 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.95e-05/0.006368, allocations: 268.1 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.006545, allocations: 0.5154 MB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-05/0.006577, allocations: 148.8 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.006608, allocations: 144.9 kB / 386.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.572e-05/0.006664, allocations: 272 kB / 387 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.006724, allocations: 264.1 kB / 387.3 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.949e-05/0.006784, allocations: 276 kB / 387.6 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.737e-05/0.006841, allocations: 268.1 kB / 387.8 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.006965, allocations: 440.2 kB / 388.2 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.007019, allocations: 172.8 kB / 388.4 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-05/0.007097, allocations: 272 kB / 388.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.067e-05/0.007158, allocations: 148.9 kB / 388.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.00722, allocations: 264.1 kB / 389.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.007252, allocations: 148.8 kB / 389.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.323e-05/0.007305, allocations: 143.5 kB / 389.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007305, allocations: 0 / 389.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.007466, allocations: 15.95 kB / 389.4 MB, free: 7.234 MB / 362.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 0.0001047/0.00757, allocations: 210.4 kB / 389.6 MB, free: 7.016 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.012e-05/0.007661, allocations: 31.61 kB / 389.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.007664, allocations: 4 kB / 389.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.007665, allocations: 0 / 389.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.008071, allocations: 0.7022 MB / 390.3 MB, free: 6.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.008453, allocations: 304.5 kB / 390.6 MB, free: 5.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.00849, allocations: 59.34 kB / 390.7 MB, free: 5.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.81e-05/0.008518, allocations: 4.281 kB / 390.7 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.008546, allocations: 16.5 kB / 390.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of SimCode: time 1.904e-06/0.008548, allocations: 0 / 390.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of Templates: time 0.001947/0.01049, allocations: 285.2 kB / 391 MB, free: 5.57 MB / 362.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.085906747961417]