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.001113/0.001113, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001255/0.001255, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9295/0.9295, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] 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.1444/0.1444, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.7 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 1.493e-06/1.493e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.709e-05, allocations: 6.25 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001776/0.001793, allocations: 1.73 MB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.001929, allocations: 79.66 kB / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.00198, allocations: 4 kB / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.959e-05/0.00203, allocations: 15.84 kB / 381.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.002094, allocations: 23.78 kB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.374e-05/0.002167, allocations: 27.97 kB / 381.1 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.00225, allocations: 103.5 kB / 381.2 MB, free: 21.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.002371, allocations: 43.91 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.757e-05/0.002419, allocations: 63.88 kB / 381.3 MB, free: 21.32 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.278e-05/0.002492, allocations: 35.89 kB / 381.4 MB, free: 21.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.002511, allocations: 12 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.00252, allocations: 8 kB / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.00254, allocations: 19.92 kB / 381.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.002567, allocations: 39.91 kB / 381.5 MB, free: 21.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 9.69e-05/0.002664, allocations: 71.69 kB / 381.5 MB, free: 21.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002665, allocations: 8 kB / 381.5 MB, free: 21.13 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.002666, allocations: 0 / 381.5 MB, free: 21.13 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.00267, allocations: 0 / 381.5 MB, free: 21.13 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.0002848/0.002955, allocations: 432.5 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.002986, allocations: 8.031 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.003023, allocations: 20.89 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.106e-05/0.003084, allocations: 112.6 kB / 382.1 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.003095, allocations: 12.55 kB / 382.1 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.003106, allocations: 16.36 kB / 382.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.762e-05/0.003204, allocations: 107.2 kB / 382.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.003212, allocations: 8.188 kB / 382.2 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.003221, allocations: 4.375 kB / 382.2 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.003227, allocations: 4.375 kB / 382.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.776e-05/0.003265, allocations: 39.28 kB / 382.3 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.003643, allocations: 0.7847 MB / 383.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.537e-05/0.003688, allocations: 269.4 kB / 383.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.003703, allocations: 126.9 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.003714, allocations: 123.1 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.003737, allocations: 168.6 kB / 383.7 MB, free: 18.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.003738, allocations: 0 / 383.7 MB, free: 18.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 4.283e-05/0.003781, allocations: 29.66 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.003813, allocations: 178.5 kB / 383.9 MB, free: 18.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.195e-05/0.003875, allocations: 177.9 kB / 384.1 MB, free: 18.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-06/0.003879, allocations: 29.64 kB / 384.2 MB, free: 18.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.003921, allocations: 186.6 kB / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.003923, allocations: 0 / 384.3 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.003951, allocations: 23.38 kB / 384.4 MB, free: 18.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.003995, allocations: 496.1 kB / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-06/0.004001, allocations: 4 kB / 384.8 MB, free: 17.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.00402, allocations: 62.11 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.004058, allocations: 62.06 kB / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00406, allocations: 0 / 385 MB, free: 17.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.083e-05/0.004141, allocations: 81.45 kB / 385 MB, free: 17.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.004152, allocations: 7.984 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.004157, allocations: 0 / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.004165, allocations: 4 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.004211, allocations: 8 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.004214, allocations: 4 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.004235, allocations: 0 / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.004239, allocations: 4 kB / 385.1 MB, free: 17.32 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 5.089e-05/0.00429, allocations: 283.7 kB / 385.3 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.004317, allocations: 152.9 kB / 385.5 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.004343, allocations: 160.3 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.004366, allocations: 268 kB / 385.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/0.00439, allocations: 268.1 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.004414, allocations: 268 kB / 386.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.004515, allocations: 0.4887 MB / 386.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.004527, allocations: 148.9 kB / 387.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.00454, allocations: 148.8 kB / 387.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-05/0.004562, allocations: 264.1 kB / 387.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.004586, allocations: 276 kB / 387.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.208e-05/0.004608, allocations: 264.1 kB / 388 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-05/0.004631, allocations: 272.2 kB / 388.3 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.834e-05/0.004689, allocations: 452.2 kB / 388.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.004711, allocations: 156.8 kB / 388.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.004739, allocations: 276 kB / 389.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.004775, allocations: 148.9 kB / 389.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.004801, allocations: 272 kB / 389.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.004815, allocations: 144.9 kB / 389.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.454e-05/0.004839, allocations: 143.1 kB / 389.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004839, allocations: 0 / 389.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.004996, allocations: 19.89 kB / 389.8 MB, free: 12.35 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 5.96e-05/0.005056, allocations: 214.4 kB / 390.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.679e-05/0.005112, allocations: 27.61 kB / 390.1 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.005113, allocations: 3.938 kB / 390.1 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-07/0.005114, allocations: 0 / 390.1 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.00531, allocations: 0.7101 MB / 390.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.005514, allocations: 286.5 kB / 391.1 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.095e-05/0.005535, allocations: 59.22 kB / 391.1 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.012e-05/0.005555, allocations: 12.36 kB / 391.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.005578, allocations: 66.2 kB / 391.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.005579, allocations: 0 / 391.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of Templates: time 0.001562/0.007141, allocations: 302.1 kB / 391.5 MB, free: 10.63 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] 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","",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.111247379798442]