Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001801/0.001801, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002292/0.002292, allocations: 165.6 kB / 24.27 MB, free: 172 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.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3492/0.3492, allocations: 32.79 MB / 293.9 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 375.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.57e-05, allocations: 2.312 kB / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003128/0.003154, allocations: 1.683 MB / 376.9 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001898/0.003343, allocations: 83.64 kB / 377 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.003395, allocations: 0 / 377 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.392e-05/0.003459, allocations: 19.86 kB / 377 MB, free: 3.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.003541, allocations: 23.78 kB / 377 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.127e-05/0.003632, allocations: 27.95 kB / 377.1 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.00378, allocations: 99.53 kB / 377.2 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.003945, allocations: 43.95 kB / 377.2 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.409e-05/0.004039, allocations: 63.88 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.004128, allocations: 27.91 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.004155, allocations: 8 kB / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.004175, allocations: 12 kB / 377.3 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.004215, allocations: 27.91 kB / 377.3 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.22e-05/0.004277, allocations: 35.92 kB / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.004463, allocations: 119.6 kB / 377.5 MB, free: 2.746 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004466, allocations: 0 / 377.5 MB, free: 2.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.004467, allocations: 0 / 377.5 MB, free: 2.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.004471, allocations: 3.938 kB / 377.5 MB, free: 2.742 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.0005507/0.005022, allocations: 334.2 kB / 377.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.005056, allocations: 8.031 kB / 377.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.00512, allocations: 20.89 kB / 377.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.005252, allocations: 117.7 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.005271, allocations: 8.609 kB / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.005298, allocations: 20.31 kB / 378 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.005554, allocations: 129.5 kB / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.005563, allocations: 192 / 378.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.005583, allocations: 8.375 kB / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.005588, allocations: 384 / 378.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.005724, allocations: 67.91 kB / 378.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/0.0066, allocations: 0.6262 MB / 378.8 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.006742, allocations: 181 kB / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.006795, allocations: 80.14 kB / 379.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.006837, allocations: 79.28 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.446e-05/0.006911, allocations: 109.8 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.006912, allocations: 0 / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.751e-05/0.006989, allocations: 29.66 kB / 379.3 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.929e-05/0.007079, allocations: 134.7 kB / 379.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.007218, allocations: 121.7 kB / 379.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.007238, allocations: 29.7 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.00758, allocations: 131.9 kB / 379.7 MB, free: 364 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.989e-06/0.007585, allocations: 3.984 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.007629, allocations: 21.72 kB / 379.7 MB, free: 332 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.007816, allocations: 310.8 kB / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.007836, allocations: 12 kB / 380 MB, free: 0 / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.00791, allocations: 45.14 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.338e-05/0.007994, allocations: 53.09 kB / 380.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.007998, allocations: 3.938 kB / 380.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001756/0.008174, allocations: 81.45 kB / 380.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.008193, allocations: 8 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.008198, allocations: 0 / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.00822, allocations: 4 kB / 380.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.528e-05/0.008295, allocations: 11.98 kB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.0083, allocations: 0 / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.059e-05/0.008341, allocations: 4 kB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.008348, allocations: 4 kB / 380.2 MB, free: 15.75 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.00015/0.008498, allocations: 197.2 kB / 380.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.46e-05/0.008593, allocations: 116.9 kB / 380.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.217e-05/0.008665, allocations: 108.4 kB / 380.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/0.008776, allocations: 184.2 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001023/0.008879, allocations: 176.3 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/0.008983, allocations: 180.3 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.009294, allocations: 380.8 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-05/0.009359, allocations: 105 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.35e-05/0.009423, allocations: 108.9 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.009531, allocations: 188.2 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.009642, allocations: 176.3 kB / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001041/0.009746, allocations: 188.3 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001092/0.009855, allocations: 184.3 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.01007, allocations: 303.8 kB / 382.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/0.01015, allocations: 116.8 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.01027, allocations: 184.2 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.01038, allocations: 101 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.01049, allocations: 188.2 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/0.01056, allocations: 101 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.271e-05/0.01064, allocations: 91.28 kB / 383.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01064, allocations: 0 / 383.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.01091, allocations: 27.88 kB / 383.6 MB, free: 12.23 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.0001623/0.01107, allocations: 170.5 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.938e-05/0.01117, allocations: 19.94 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01117, allocations: 0 / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.7e-06/0.01118, allocations: 3.938 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/0.01167, allocations: 462.1 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.01215, allocations: 243 kB / 384.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.01225, allocations: 81.83 kB / 384.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.916e-05/0.01227, allocations: 7.984 kB / 384.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.369e-05/0.01231, allocations: 8.5 kB / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01231, allocations: 0 / 384.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Templates: time 0.002792/0.0151, allocations: 289.3 kB / 384.8 MB, free: 10.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.911274218931794]