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.002067/0.002067, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002442/0.002442, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.491/1.491, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 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.2383/0.2383, allocations: 44.93 MB / 359.6 MB, free: 6.062 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 75.88 kB / 0.4942 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3383, allocations: 65.47 MB / 0.5582 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003342/0.3417, allocations: 1.666 MB / 0.5598 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002559/0.3419, allocations: 75.67 kB / 0.5599 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.342, allocations: 0 / 0.5599 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.679e-05/0.342, allocations: 27.8 kB / 0.5599 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.272e-05/0.3421, allocations: 27.77 kB / 0.5599 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.31e-05/0.3422, allocations: 19.97 kB / 0.5599 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.3424, allocations: 99.59 kB / 0.56 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.3426, allocations: 39.95 kB / 0.5601 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.112e-05/0.3426, allocations: 43.84 kB / 0.5601 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.3427, allocations: 39.78 kB / 0.5602 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.3427, allocations: 12 kB / 0.5602 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.372e-05/0.3428, allocations: 12 kB / 0.5602 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.3428, allocations: 19.92 kB / 0.5602 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.3428, allocations: 47.8 kB / 0.5602 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.343, allocations: 122.1 kB / 0.5604 GB, free: 5.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.343, allocations: 0 / 0.5604 GB, free: 5.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.343, allocations: 0 / 0.5604 GB, free: 5.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.343, allocations: 3.984 kB / 0.5604 GB, free: 5.215 MB / 398.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.000511/0.3435, allocations: 326.2 kB / 0.5607 GB, free: 4.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.3436, allocations: 8.031 kB / 0.5607 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.3436, allocations: 20.77 kB / 0.5607 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3437, allocations: 114.4 kB / 0.5608 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3438, allocations: 12.61 kB / 0.5608 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.3438, allocations: 12.38 kB / 0.5608 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.344, allocations: 133.5 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.344, allocations: 192 / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.344, allocations: 7.938 kB / 0.561 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.344, allocations: 4 kB / 0.561 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3442, allocations: 63.97 kB / 0.561 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008152/0.345, allocations: 0.6296 MB / 0.5616 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.3451, allocations: 169.1 kB / 0.5618 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.031e-05/0.3451, allocations: 80.14 kB / 0.5619 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.3452, allocations: 79.28 kB / 0.562 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/0.3452, allocations: 109.8 kB / 0.5621 GB, free: 3.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3452, allocations: 0 / 0.5621 GB, free: 3.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.128e-05/0.3453, allocations: 33.69 kB / 0.5621 GB, free: 3.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.3454, allocations: 126.7 kB / 0.5622 GB, free: 3.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3455, allocations: 133.7 kB / 0.5623 GB, free: 3.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3455, allocations: 25.7 kB / 0.5624 GB, free: 2.977 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3456, allocations: 131.9 kB / 0.5625 GB, free: 2.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.3456, allocations: 0 / 0.5625 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.3457, allocations: 21.72 kB / 0.5625 GB, free: 2.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3458, allocations: 318.8 kB / 0.5628 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.3458, allocations: 7.984 kB / 0.5628 GB, free: 2.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.3459, allocations: 45.09 kB / 0.5629 GB, free: 2.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.414e-05/0.3459, allocations: 53.09 kB / 0.5629 GB, free: 2.355 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.346, allocations: 0 / 0.5629 GB, free: 2.355 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001491/0.3461, allocations: 73.56 kB / 0.563 GB, free: 2.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3461, allocations: 8 kB / 0.563 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3461, allocations: 3.984 kB / 0.563 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3461, allocations: 4 kB / 0.563 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.3462, allocations: 8 kB / 0.563 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.3462, allocations: 3.938 kB / 0.563 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.3463, allocations: 7.953 kB / 0.563 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3463, allocations: 4.188 kB / 0.563 GB, free: 2.238 MB / 398.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.0001236/0.3464, allocations: 205 kB / 0.5632 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.3465, allocations: 110 kB / 0.5633 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.426e-05/0.3466, allocations: 116.2 kB / 0.5634 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.041e-05/0.3467, allocations: 180.3 kB / 0.5636 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.584e-05/0.3467, allocations: 180.2 kB / 0.5638 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.51e-05/0.3468, allocations: 180.3 kB / 0.564 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.3471, allocations: 380.8 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.473e-05/0.3472, allocations: 104.9 kB / 0.5644 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.3472, allocations: 105 kB / 0.5645 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.166e-05/0.3473, allocations: 184.4 kB / 0.5647 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/0.3474, allocations: 180.3 kB / 0.5649 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.888e-05/0.3475, allocations: 184.3 kB / 0.565 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.741e-05/0.3476, allocations: 184.3 kB / 0.5652 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.3478, allocations: 315.6 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.3478, allocations: 109 kB / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.3479, allocations: 180.3 kB / 0.5658 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.348, allocations: 108.9 kB / 0.5659 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3481, allocations: 180.3 kB / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/0.3482, allocations: 104.9 kB / 0.5662 GB, free: 14.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.912e-05/0.3483, allocations: 99.58 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3483, allocations: 8 kB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.3485, allocations: 19.89 kB / 0.5663 GB, free: 14.7 MB / 414.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 0.0001435/0.3487, allocations: 166.5 kB / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.881e-05/0.3488, allocations: 19.94 kB / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3488, allocations: 0 / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.3488, allocations: 0 / 0.5665 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.3492, allocations: 466.6 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.3497, allocations: 276.8 kB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/0.3497, allocations: 85.31 kB / 0.5673 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.3498, allocations: 11.42 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3498, allocations: 0 / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Templates: time 0.00238/0.3522, allocations: 0.8015 MB / 0.5681 GB, free: 12.83 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/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: 7.354389785323292]