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.002567/0.002567, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003027/0.003027, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.539/1.539, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3961/0.3961, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.601e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003043/0.003069, allocations: 1.731 MB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000177/0.003246, allocations: 71.72 kB / 379.1 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.003304, allocations: 4 kB / 379.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.579e-05/0.00336, allocations: 15.86 kB / 379.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.003445, allocations: 27.72 kB / 379.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.257e-05/0.003538, allocations: 19.97 kB / 379.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.003691, allocations: 111.5 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.003885, allocations: 43.97 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.004, allocations: 59.89 kB / 379.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.004136, allocations: 31.89 kB / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.004167, allocations: 12 kB / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.445e-05/0.004191, allocations: 12 kB / 379.4 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.004233, allocations: 23.92 kB / 379.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.314e-05/0.004306, allocations: 39.91 kB / 379.5 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.004553, allocations: 119.6 kB / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.004556, allocations: 0 / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004557, allocations: 0 / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.004562, allocations: 4 kB / 379.6 MB, free: 0.6484 MB / 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.000731/0.005293, allocations: 436.2 kB / 380 MB, free: 184 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.005339, allocations: 8.031 kB / 380 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.005407, allocations: 16.89 kB / 380 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.005549, allocations: 124.5 kB / 380.1 MB, free: 8 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.005568, allocations: 8.609 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.00561, allocations: 8.422 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.005857, allocations: 139.2 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.005868, allocations: 4.188 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.005883, allocations: 4.375 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.005892, allocations: 8.375 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.006035, allocations: 67.84 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.007145, allocations: 0.835 MB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.007339, allocations: 265.4 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.93e-05/0.007418, allocations: 134.9 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/0.00749, allocations: 123.2 kB / 381.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.747e-05/0.007577, allocations: 152.6 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.007578, allocations: 4 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001065/0.007685, allocations: 45.58 kB / 381.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.007831, allocations: 170.6 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.008087, allocations: 185.9 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.008111, allocations: 29.7 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.008271, allocations: 182.7 kB / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.12e-06/0.008276, allocations: 0 / 382.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.008328, allocations: 23.38 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.008593, allocations: 0.4923 MB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.909e-05/0.008612, allocations: 4 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/0.008682, allocations: 62.06 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.792e-05/0.008779, allocations: 78.05 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008781, allocations: 3.938 kB / 383.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000171/0.008952, allocations: 77.45 kB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.00897, allocations: 12.19 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008975, allocations: 0 / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.008991, allocations: 4 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.009059, allocations: 8 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.00907, allocations: 3.938 kB / 383.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.00911, allocations: 8 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.009117, allocations: 4 kB / 383.3 MB, free: 12.68 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 0.000198/0.009315, allocations: 283.8 kB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.009422, allocations: 156.8 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.886e-05/0.009521, allocations: 156.3 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001454/0.009667, allocations: 272.1 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001444/0.009811, allocations: 268 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001418/0.009953, allocations: 268.1 kB / 384.6 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.01033, allocations: 0.5195 MB / 385.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.923e-05/0.01041, allocations: 156.8 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.843e-05/0.01049, allocations: 148.8 kB / 385.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/0.01062, allocations: 268 kB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.01075, allocations: 272.1 kB / 386 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001347/0.01089, allocations: 264.1 kB / 386.2 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001352/0.01102, allocations: 272.2 kB / 386.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.01129, allocations: 448 kB / 386.9 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.01149, allocations: 160.8 kB / 387.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.01164, allocations: 272.1 kB / 387.4 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.01176, allocations: 152.8 kB / 387.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.01189, allocations: 264.1 kB / 387.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/0.01197, allocations: 152.8 kB / 387.9 MB, free: 7.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.838e-05/0.01207, allocations: 139.2 kB / 388 MB, free: 7.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01207, allocations: 4 kB / 388.1 MB, free: 7.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.01231, allocations: 19.89 kB / 388.1 MB, free: 7.66 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.0001669/0.01248, allocations: 210.4 kB / 388.3 MB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.01258, allocations: 35.61 kB / 388.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01258, allocations: 0 / 388.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.01258, allocations: 0 / 388.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005565/0.01313, allocations: 0.7119 MB / 389 MB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.01357, allocations: 308.5 kB / 389.3 MB, free: 6.359 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.277e-05/0.01366, allocations: 73.83 kB / 389.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.84e-05/0.01368, allocations: 8 kB / 389.4 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.0137, allocations: 8.5 kB / 389.4 MB, free: 6.25 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0137, allocations: 0 / 389.4 MB, free: 6.25 MB / 362.7 MB Notification: Performance of Templates: time 0.002776/0.01648, allocations: 296.9 kB / 389.7 MB, free: 5.965 MB / 362.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","/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.914440552936867]