Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001319/0.001319, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 204 kB / 25.13 MB, free: 3.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.553/1.553, allocations: 230.4 MB / 258.7 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2445/0.2445, allocations: 46.94 MB / 362 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00325/0.00325, allocations: 84.03 kB / 0.4978 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3557, allocations: 66.08 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002978/0.3587, allocations: 1.736 MB / 0.564 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001808/0.3589, allocations: 71.73 kB / 0.5641 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.3589, allocations: 4 kB / 0.5641 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.479e-05/0.359, allocations: 19.84 kB / 0.5641 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.3591, allocations: 23.77 kB / 0.5641 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.663e-05/0.3592, allocations: 23.97 kB / 0.5641 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3593, allocations: 103.5 kB / 0.5642 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.3595, allocations: 43.97 kB / 0.5643 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.3596, allocations: 47.84 kB / 0.5643 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.3597, allocations: 47.77 kB / 0.5644 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.3597, allocations: 12 kB / 0.5644 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.75e-05/0.3597, allocations: 8 kB / 0.5644 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.3597, allocations: 23.98 kB / 0.5644 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.3598, allocations: 47.75 kB / 0.5645 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.36, allocations: 125.9 kB / 0.5646 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.36, allocations: 0 / 0.5646 GB, free: 1.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.36, allocations: 0 / 0.5646 GB, free: 1.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.36, allocations: 4 kB / 0.5646 GB, free: 1.934 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.0005662/0.3606, allocations: 330.1 kB / 0.5649 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3606, allocations: 12.03 kB / 0.5649 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.3607, allocations: 12.84 kB / 0.5649 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3608, allocations: 114.4 kB / 0.565 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3608, allocations: 12.59 kB / 0.565 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.3608, allocations: 12.38 kB / 0.5651 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.361, allocations: 125.6 kB / 0.5652 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3611, allocations: 192 / 0.5652 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.3611, allocations: 15.94 kB / 0.5652 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3611, allocations: 4 kB / 0.5652 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.3612, allocations: 67.91 kB / 0.5653 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008677/0.3621, allocations: 0.6797 MB / 0.5659 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.3622, allocations: 169.1 kB / 0.5661 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.3622, allocations: 80.14 kB / 0.5662 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.3623, allocations: 79.28 kB / 0.5662 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.551e-05/0.3623, allocations: 113.8 kB / 0.5663 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3623, allocations: 0 / 0.5663 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.454e-05/0.3624, allocations: 33.64 kB / 0.5664 GB, free: 15.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.702e-05/0.3625, allocations: 130.7 kB / 0.5665 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.3627, allocations: 155.8 kB / 0.5667 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3627, allocations: 25.7 kB / 0.5667 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.93e-05/0.3628, allocations: 119.9 kB / 0.5668 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.3628, allocations: 0 / 0.5668 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.3628, allocations: 29.61 kB / 0.5668 GB, free: 15.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.363, allocations: 322.8 kB / 0.5671 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.363, allocations: 7.984 kB / 0.5671 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.205e-05/0.363, allocations: 41.16 kB / 0.5672 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.3631, allocations: 57.03 kB / 0.5672 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3631, allocations: 0 / 0.5672 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001508/0.3633, allocations: 73.56 kB / 0.5673 GB, free: 14.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3633, allocations: 4 kB / 0.5673 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.3633, allocations: 8.172 kB / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3633, allocations: 4 kB / 0.5673 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.142e-05/0.3634, allocations: 8 kB / 0.5673 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3634, allocations: 4 kB / 0.5673 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/0.3634, allocations: 12.02 kB / 0.5673 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3634, allocations: 7.938 kB / 0.5673 GB, free: 14.86 MB / 414.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.3636, allocations: 201.1 kB / 0.5675 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.3636, allocations: 110 kB / 0.5676 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.3637, allocations: 120.6 kB / 0.5678 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.552e-05/0.3638, allocations: 180.2 kB / 0.5679 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.587e-05/0.3638, allocations: 184.3 kB / 0.5681 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.057e-05/0.3639, allocations: 184.1 kB / 0.5683 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003309/0.3642, allocations: 408.2 kB / 0.5687 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.334e-05/0.3643, allocations: 105 kB / 0.5688 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.3644, allocations: 108.9 kB / 0.5689 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.133e-05/0.3644, allocations: 180.4 kB / 0.569 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/0.3645, allocations: 184.2 kB / 0.5692 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.035e-05/0.3646, allocations: 180.3 kB / 0.5694 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-05/0.3647, allocations: 180.2 kB / 0.5696 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.3648, allocations: 319.7 kB / 0.5699 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.3649, allocations: 112.9 kB / 0.57 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.075e-05/0.365, allocations: 184.2 kB / 0.5702 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.3651, allocations: 101 kB / 0.5702 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.3652, allocations: 188.2 kB / 0.5704 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.3652, allocations: 105 kB / 0.5705 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.134e-05/0.3653, allocations: 113.2 kB / 0.5706 GB, free: 11.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3653, allocations: 0 / 0.5706 GB, free: 11.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.3655, allocations: 19.94 kB / 0.5707 GB, free: 11.26 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.0001121/0.3657, allocations: 174.5 kB / 0.5708 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.791e-05/0.3657, allocations: 12.25 kB / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3657, allocations: 4.062 kB / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.3658, allocations: 11.94 kB / 0.5708 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.3662, allocations: 451.7 kB / 0.5713 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.3665, allocations: 246.8 kB / 0.5715 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3669, allocations: 0.6963 MB / 0.5722 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.483e-05/0.3669, allocations: 4 kB / 0.5722 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.3669, allocations: 11.44 kB / 0.5722 GB, free: 9.602 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3669, allocations: 0 / 0.5722 GB, free: 9.602 MB / 414.1 MB Notification: Performance of Templates: time 0.002802/0.3697, allocations: 448.5 kB / 0.5726 GB, free: 9.164 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.108729760861024]