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.001898/0.001898, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001772/0.001772, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.75 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.25/0.25, allocations: 44.94 MB / 358.8 MB, free: 6.074 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: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="me",version="2.0",platforms={"static"}) [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.003081/0.003081, allocations: 71.89 kB / 0.493 GB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3407, allocations: 65.47 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002921/0.3436, allocations: 1.673 MB / 0.5586 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001716/0.3438, allocations: 71.72 kB / 0.5587 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.3438, allocations: 4 kB / 0.5587 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.93e-05/0.3439, allocations: 15.8 kB / 0.5587 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.592e-05/0.344, allocations: 27.78 kB / 0.5587 GB, free: 5.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.005e-05/0.3441, allocations: 27.97 kB / 0.5587 GB, free: 5.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.3442, allocations: 99.58 kB / 0.5588 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.3444, allocations: 41.78 kB / 0.5589 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.3444, allocations: 43.86 kB / 0.5589 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.3445, allocations: 39.78 kB / 0.5589 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.3446, allocations: 8 kB / 0.5589 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.275e-05/0.3446, allocations: 12 kB / 0.559 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.124e-05/0.3446, allocations: 23.92 kB / 0.559 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.561e-05/0.3447, allocations: 39.86 kB / 0.559 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.3448, allocations: 123.5 kB / 0.5591 GB, free: 5.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3448, allocations: 4 kB / 0.5591 GB, free: 5.316 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3448, allocations: 0 / 0.5591 GB, free: 5.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3449, allocations: 0 / 0.5591 GB, free: 5.316 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.0004828/0.3453, allocations: 322.2 kB / 0.5594 GB, free: 4.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3454, allocations: 8.031 kB / 0.5595 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.3454, allocations: 46.73 kB / 0.5595 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3455, allocations: 16.84 kB / 0.5595 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.3456, allocations: 114.4 kB / 0.5596 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.3456, allocations: 8.609 kB / 0.5596 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3456, allocations: 12.38 kB / 0.5596 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.3458, allocations: 133.5 kB / 0.5598 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3458, allocations: 3.938 kB / 0.5598 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.3459, allocations: 15.94 kB / 0.5598 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3459, allocations: 7.938 kB / 0.5598 GB, free: 4.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.346, allocations: 67.95 kB / 0.5599 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008487/0.3468, allocations: 0.668 MB / 0.5605 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3469, allocations: 169.1 kB / 0.5607 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.347, allocations: 84.14 kB / 0.5608 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.347, allocations: 79.22 kB / 0.5608 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.3471, allocations: 105.8 kB / 0.5609 GB, free: 3.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.3471, allocations: 0 / 0.5609 GB, free: 3.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 6.914e-05/0.3471, allocations: 33.69 kB / 0.561 GB, free: 3.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.3472, allocations: 126.7 kB / 0.5611 GB, free: 3.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3474, allocations: 153.5 kB / 0.5612 GB, free: 2.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3474, allocations: 25.7 kB / 0.5613 GB, free: 2.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.3474, allocations: 123.8 kB / 0.5614 GB, free: 2.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.3475, allocations: 0 / 0.5614 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.3475, allocations: 25.7 kB / 0.5614 GB, free: 2.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3476, allocations: 322.8 kB / 0.5617 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/0.3476, allocations: 8 kB / 0.5617 GB, free: 2.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.591e-05/0.3477, allocations: 49.08 kB / 0.5618 GB, free: 2.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.63e-05/0.3478, allocations: 49.09 kB / 0.5618 GB, free: 2.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3478, allocations: 0 / 0.5618 GB, free: 2.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001514/0.3479, allocations: 81.52 kB / 0.5619 GB, free: 2.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3479, allocations: 4 kB / 0.5619 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3479, allocations: 0 / 0.5619 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3479, allocations: 4 kB / 0.5619 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.348, allocations: 15.98 kB / 0.5619 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.348, allocations: 7.938 kB / 0.5619 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.3481, allocations: 7.891 kB / 0.5619 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3481, allocations: 4 kB / 0.5619 GB, free: 2.195 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.0001149/0.3482, allocations: 197.2 kB / 0.5621 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.3483, allocations: 110 kB / 0.5622 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.3483, allocations: 124.5 kB / 0.5623 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.94e-05/0.3484, allocations: 176.3 kB / 0.5625 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.55e-05/0.3485, allocations: 184.2 kB / 0.5627 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-05/0.3485, allocations: 180.2 kB / 0.5629 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.3488, allocations: 404.3 kB / 0.5632 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.535e-05/0.3489, allocations: 108.9 kB / 0.5633 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.3489, allocations: 108.9 kB / 0.5635 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.208e-05/0.349, allocations: 180.4 kB / 0.5636 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.3491, allocations: 180.3 kB / 0.5638 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.945e-05/0.3492, allocations: 188.3 kB / 0.564 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.463e-05/0.3492, allocations: 180.2 kB / 0.5641 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.3494, allocations: 319.7 kB / 0.5645 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.3495, allocations: 112.9 kB / 0.5646 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.749e-05/0.3496, allocations: 184.3 kB / 0.5647 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3497, allocations: 112.9 kB / 0.5648 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.3497, allocations: 176.3 kB / 0.565 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.3498, allocations: 112.8 kB / 0.5651 GB, free: 14.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.707e-05/0.3499, allocations: 113.8 kB / 0.5652 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3499, allocations: 0 / 0.5652 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3501, allocations: 15.97 kB / 0.5652 GB, free: 14.6 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.000446/0.3506, allocations: 0.8048 MB / 0.566 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.3507, allocations: 15.94 kB / 0.566 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3507, allocations: 0 / 0.566 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.586e-06/0.3507, allocations: 4 kB / 0.566 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3511, allocations: 463.6 kB / 0.5665 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3525, allocations: 1.589 MB / 0.568 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.559e-05/0.3526, allocations: 81.31 kB / 0.5681 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.458e-05/0.3526, allocations: 4 kB / 0.5681 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.3526, allocations: 27.42 kB / 0.5681 GB, free: 11.46 MB / 414.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3526, allocations: 0 / 0.5681 GB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.3794, allocations: 2.106 MB / 0.5702 GB, free: 9.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.63, allocations: 8.062 kB / 0.5702 GB, free: 9.473 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 52.5] 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: 14.558537723962218]