Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 34.28 MB / 294.9 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.008e-06/4.008e-06, allocations: 3.984 kB / 442.6 MB, free: 5.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.512e-05, allocations: 6.219 kB / 442.6 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003114/0.00315, allocations: 1.672 MB / 444.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001892/0.003339, allocations: 79.72 kB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.901e-05/0.003398, allocations: 4 kB / 444.4 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.936e-05/0.003467, allocations: 19.78 kB / 444.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.00354, allocations: 19.8 kB / 444.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.897e-05/0.003629, allocations: 23.97 kB / 444.5 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.003788, allocations: 111.4 kB / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.003967, allocations: 43.97 kB / 444.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.00405, allocations: 55.89 kB / 444.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.004143, allocations: 43.88 kB / 444.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.004178, allocations: 12 kB / 444.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.043e-05/0.004198, allocations: 12 kB / 444.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.004225, allocations: 15.92 kB / 444.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.004285, allocations: 35.92 kB / 444.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.00447, allocations: 131.5 kB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004473, allocations: 0 / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004474, allocations: 0 / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.004484, allocations: 0 / 444.9 MB, free: 3.16 MB / 366.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.000532/0.005016, allocations: 318.2 kB / 445.2 MB, free: 2.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.005056, allocations: 16.03 kB / 445.2 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.005094, allocations: 8.891 kB / 445.3 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.005225, allocations: 117.6 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.005244, allocations: 8.609 kB / 445.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.005269, allocations: 16.38 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.005515, allocations: 137.5 kB / 445.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.005526, allocations: 192 / 445.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.005541, allocations: 4.375 kB / 445.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005549, allocations: 4.375 kB / 445.5 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.005674, allocations: 67.91 kB / 445.6 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/0.00649, allocations: 0.63 MB / 446.2 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.006593, allocations: 169.1 kB / 446.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.006633, allocations: 80.14 kB / 446.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.00667, allocations: 75.28 kB / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.01e-05/0.00673, allocations: 113.8 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.006731, allocations: 0 / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.794e-05/0.006809, allocations: 37.64 kB / 446.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.006891, allocations: 134.6 kB / 446.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.007023, allocations: 125.8 kB / 446.9 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.007038, allocations: 25.7 kB / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.007129, allocations: 124 kB / 447.1 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.007136, allocations: 4 kB / 447.1 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.007176, allocations: 21.67 kB / 447.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.00733, allocations: 318.8 kB / 447.4 MB, free: 456 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.007348, allocations: 4 kB / 447.4 MB, free: 452 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.007399, allocations: 45.09 kB / 447.5 MB, free: 388 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.991e-05/0.007479, allocations: 61.08 kB / 447.5 MB, free: 308 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.007483, allocations: 3.938 kB / 447.5 MB, free: 304 kB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001742/0.007657, allocations: 69.56 kB / 447.6 MB, free: 228 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.007675, allocations: 8 kB / 447.6 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.00768, allocations: 0 / 447.6 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.007697, allocations: 192 / 447.6 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.007771, allocations: 16 kB / 447.6 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.00778, allocations: 3.938 kB / 447.6 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.007824, allocations: 11.89 kB / 447.6 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.007834, allocations: 8 kB / 447.7 MB, free: 180 kB / 366.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.2451/0.253, allocations: 197.5 kB / 447.9 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.253, allocations: 101.8 kB / 447.9 MB, free: 19.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.2531, allocations: 110.3 kB / 448.1 MB, free: 19.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.2531, allocations: 177.2 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.2531, allocations: 183.7 kB / 448.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.2532, allocations: 177.6 kB / 448.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.2533, allocations: 389 kB / 449 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.2534, allocations: 102.8 kB / 449.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.2534, allocations: 106.7 kB / 449.2 MB, free: 17.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-05/0.2534, allocations: 179.9 kB / 449.3 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.2534, allocations: 179.4 kB / 449.5 MB, free: 17.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-05/0.2534, allocations: 193.5 kB / 449.7 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.271e-05/0.2535, allocations: 178.6 kB / 449.9 MB, free: 17.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.021e-05/0.2535, allocations: 310.4 kB / 450.2 MB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.2536, allocations: 107.3 kB / 450.3 MB, free: 16.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.2536, allocations: 189.3 kB / 450.5 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.2537, allocations: 103 kB / 450.6 MB, free: 16.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.2537, allocations: 183.4 kB / 450.8 MB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.2537, allocations: 101.7 kB / 450.9 MB, free: 16.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.092e-05/0.2538, allocations: 94.55 kB / 450.9 MB, free: 16.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2538, allocations: 0 / 450.9 MB, free: 16.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003374/0.2541, allocations: 23.11 kB / 451 MB, free: 16.18 MB / 366.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 9.498e-05/0.2542, allocations: 171.8 kB / 451.1 MB, free: 16.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.245e-05/0.2543, allocations: 19.11 kB / 451.2 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2543, allocations: 0 / 451.2 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.2543, allocations: 1.125 kB / 451.2 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.2546, allocations: 467 kB / 451.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.255, allocations: 241 kB / 451.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.116e-05/0.255, allocations: 78.64 kB / 451.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.128e-05/0.255, allocations: 6.219 kB / 451.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.2551, allocations: 9.656 kB / 451.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2551, allocations: 0 / 451.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Templates: time 0.002556/0.2576, allocations: 284.9 kB / 452.2 MB, free: 15.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.949489779770374]