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.001082/0.001082, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001244/0.001244, allocations: 170.5 kB / 24.91 MB, free: 8.777 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.9553/0.9553, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.2251/0.2251, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.382e-06/1.382e-06, allocations: 0 / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.29e-05/1.429e-05, allocations: 2.312 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001809/0.001823, allocations: 1.743 MB / 324.9 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001568/0.00198, allocations: 79.61 kB / 325 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.002021, allocations: 0 / 325 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.002065, allocations: 23.84 kB / 325 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.815e-05/0.002123, allocations: 27.7 kB / 325.1 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.824e-05/0.002191, allocations: 19.98 kB / 325.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.05e-05/0.002281, allocations: 111.5 kB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.002398, allocations: 39.97 kB / 325.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.322e-05/0.002452, allocations: 63.88 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.002532, allocations: 35.88 kB / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.002554, allocations: 12 kB / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.002565, allocations: 12 kB / 325.3 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.002587, allocations: 23.86 kB / 325.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.067e-05/0.002617, allocations: 39.97 kB / 325.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.002718, allocations: 67.75 kB / 325.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.472e-06/0.002719, allocations: 0 / 325.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00272, allocations: 4 kB / 325.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.836e-06/0.002723, allocations: 0 / 325.5 MB, free: 7.43 MB / 298.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.000271/0.002994, allocations: 302 kB / 325.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.003025, allocations: 12.03 kB / 325.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.003054, allocations: 16.88 kB / 325.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.206e-05/0.003137, allocations: 125.6 kB / 325.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.003147, allocations: 8.609 kB / 325.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.00316, allocations: 12.38 kB / 325.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.003264, allocations: 103.3 kB / 326 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.003272, allocations: 192 / 326 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.00328, allocations: 8.375 kB / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.003285, allocations: 384 / 326.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.003331, allocations: 34.48 kB / 326.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.003745, allocations: 0.5673 MB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/0.003831, allocations: 173.1 kB / 326.8 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.09e-05/0.003852, allocations: 80.14 kB / 326.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.003866, allocations: 79.28 kB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.003896, allocations: 109.8 kB / 327.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.003897, allocations: 4 kB / 327.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 4.042e-05/0.003937, allocations: 29.7 kB / 327.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.003978, allocations: 130.6 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.004049, allocations: 130.5 kB / 327.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.004056, allocations: 25.7 kB / 327.4 MB, free: 5.355 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/0.004103, allocations: 124 kB / 327.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.004105, allocations: 0 / 327.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.004132, allocations: 33.64 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.004264, allocations: 310.8 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-06/0.004272, allocations: 4 kB / 327.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.004294, allocations: 41.14 kB / 327.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.004335, allocations: 53.08 kB / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.004337, allocations: 0 / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.503e-05/0.004412, allocations: 73.58 kB / 328 MB, free: 4.668 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.004422, allocations: 8.031 kB / 328 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.004428, allocations: 4 kB / 328 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.004436, allocations: 0 / 328 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.034e-05/0.004477, allocations: 8 kB / 328 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.004481, allocations: 4 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.004501, allocations: 4 kB / 328.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.004506, allocations: 3.984 kB / 328.1 MB, free: 4.637 MB / 298.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 6.202e-05/0.004568, allocations: 193 kB / 328.2 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.004604, allocations: 116.8 kB / 328.4 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.004639, allocations: 112.4 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/0.004676, allocations: 184.2 kB / 328.7 MB, free: 4.008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.559e-05/0.004711, allocations: 180.3 kB / 328.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.663e-05/0.004748, allocations: 184.2 kB / 329 MB, free: 3.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.004875, allocations: 337.4 kB / 329.3 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001633/0.005038, allocations: 101 kB / 329.4 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.005062, allocations: 104.9 kB / 329.5 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.54e-05/0.005097, allocations: 184.3 kB / 329.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.005135, allocations: 180.2 kB / 329.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.182e-05/0.005177, allocations: 184.2 kB / 330.1 MB, free: 2.508 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.793e-05/0.005215, allocations: 180.5 kB / 330.3 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.358e-05/0.005298, allocations: 307.8 kB / 330.6 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.005333, allocations: 116.9 kB / 330.7 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.005377, allocations: 180.4 kB / 330.8 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.005425, allocations: 112.9 kB / 331 MB, free: 1.578 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.005465, allocations: 180.2 kB / 331.1 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.005486, allocations: 105 kB / 331.2 MB, free: 1.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.24e-05/0.005509, allocations: 16.84 kB / 331.2 MB, free: 1.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005509, allocations: 0 / 331.2 MB, free: 1.266 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001283/0.005637, allocations: 19.95 kB / 331.3 MB, free: 1.246 MB / 298.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 7.693e-05/0.005714, allocations: 151.6 kB / 331.4 MB, free: 1.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.295e-05/0.005767, allocations: 32.78 kB / 331.4 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.00577, allocations: 0 / 331.4 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.005771, allocations: 0 / 331.4 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001805/0.005951, allocations: 459.6 kB / 331.9 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.00617, allocations: 247.6 kB / 332.1 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.775e-05/0.006198, allocations: 59.34 kB / 332.2 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.833e-05/0.006216, allocations: 8.375 kB / 332.2 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.00624, allocations: 47.38 kB / 332.3 MB, free: 204 kB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.00624, allocations: 0 / 332.3 MB, free: 204 kB / 298.7 MB Notification: Performance of Templates: time 0.001577/0.007817, allocations: 308.9 kB / 332.6 MB, free: 15.9 MB / 314.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6683283606544137]