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.001447/0.001447, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001461/0.001461, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2217/0.2217, allocations: 44.93 MB / 359.6 MB, free: 6.07 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestGyrator,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestGyrator",fmuType="cs",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.00233/0.00233, allocations: 63.89 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3441, allocations: 65.47 MB / 0.5577 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003355/0.3475, allocations: 1.669 MB / 0.5593 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.3478, allocations: 83.66 kB / 0.5594 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.3478, allocations: 0 / 0.5594 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.493e-05/0.3479, allocations: 19.84 kB / 0.5594 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.004e-05/0.348, allocations: 19.78 kB / 0.5595 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.331e-05/0.3481, allocations: 23.97 kB / 0.5595 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.3482, allocations: 99.59 kB / 0.5596 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.3484, allocations: 49.78 kB / 0.5596 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.3485, allocations: 43.86 kB / 0.5597 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.3485, allocations: 51.77 kB / 0.5597 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.3486, allocations: 12 kB / 0.5597 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.692e-05/0.3486, allocations: 12 kB / 0.5597 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.3486, allocations: 19.92 kB / 0.5598 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.425e-05/0.3487, allocations: 43.8 kB / 0.5598 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3488, allocations: 111.6 kB / 0.5599 GB, free: 5.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3489, allocations: 8 kB / 0.5599 GB, free: 5.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3489, allocations: 0 / 0.5599 GB, free: 5.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3489, allocations: 0 / 0.5599 GB, free: 5.297 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.0004998/0.3494, allocations: 330.1 kB / 0.5602 GB, free: 4.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.3494, allocations: 12.02 kB / 0.5602 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.988e-05/0.3494, allocations: 4.422 kB / 0.5602 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.3495, allocations: 42.75 kB / 0.5603 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.3495, allocations: 12.84 kB / 0.5603 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3496, allocations: 118.4 kB / 0.5604 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.3497, allocations: 12.55 kB / 0.5604 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3497, allocations: 12.38 kB / 0.5604 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.3499, allocations: 129.3 kB / 0.5606 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3499, allocations: 0 / 0.5606 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3499, allocations: 7.984 kB / 0.5606 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.35, allocations: 4 kB / 0.5606 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3501, allocations: 63.98 kB / 0.5606 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.351, allocations: 0.6719 MB / 0.5613 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3511, allocations: 169.1 kB / 0.5614 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.3511, allocations: 84.14 kB / 0.5615 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.3512, allocations: 75.28 kB / 0.5616 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.3512, allocations: 109.8 kB / 0.5617 GB, free: 3.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3512, allocations: 4 kB / 0.5617 GB, free: 3.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.532e-05/0.3513, allocations: 33.64 kB / 0.5617 GB, free: 3.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.3514, allocations: 130.6 kB / 0.5619 GB, free: 3.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.3516, allocations: 156.1 kB / 0.562 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3516, allocations: 25.7 kB / 0.562 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.3517, allocations: 127.8 kB / 0.5622 GB, free: 2.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.3517, allocations: 0 / 0.5622 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.3517, allocations: 21.67 kB / 0.5622 GB, free: 2.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3519, allocations: 322.8 kB / 0.5625 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.3519, allocations: 4 kB / 0.5625 GB, free: 2.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/0.3519, allocations: 37.16 kB / 0.5625 GB, free: 2.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.471e-05/0.352, allocations: 61.08 kB / 0.5626 GB, free: 2.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.352, allocations: 0 / 0.5626 GB, free: 2.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001531/0.3522, allocations: 73.72 kB / 0.5627 GB, free: 2.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3522, allocations: 8.031 kB / 0.5627 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3522, allocations: 4 kB / 0.5627 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3522, allocations: 0 / 0.5627 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.3523, allocations: 11.94 kB / 0.5627 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3523, allocations: 4.125 kB / 0.5627 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.116e-05/0.3523, allocations: 15.89 kB / 0.5627 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3524, allocations: 0 / 0.5627 GB, free: 2.184 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.000131/0.3525, allocations: 201.1 kB / 0.5629 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.469e-05/0.3526, allocations: 117.9 kB / 0.563 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.652e-05/0.3526, allocations: 112.5 kB / 0.5631 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.01e-05/0.3527, allocations: 188.3 kB / 0.5633 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.685e-05/0.3528, allocations: 184.2 kB / 0.5635 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.199e-05/0.3529, allocations: 180.2 kB / 0.5636 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.3532, allocations: 412.2 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.378e-05/0.3533, allocations: 101 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.3533, allocations: 105 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001639/0.3535, allocations: 184.4 kB / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-05/0.3536, allocations: 184.3 kB / 0.5646 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.35e-05/0.3537, allocations: 180.2 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.089e-05/0.3538, allocations: 180.3 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3539, allocations: 319.6 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.466e-05/0.354, allocations: 108.9 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.3541, allocations: 188.2 kB / 0.5655 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.3542, allocations: 105 kB / 0.5656 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.3543, allocations: 188.1 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.3544, allocations: 109 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.023e-05/0.3545, allocations: 105.5 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3545, allocations: 0 / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.3547, allocations: 19.94 kB / 0.566 GB, free: 14.59 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.0005832/0.3553, allocations: 0.8125 MB / 0.5668 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.4e-05/0.3554, allocations: 19.94 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.3554, allocations: 0 / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-06/0.3554, allocations: 4 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.3559, allocations: 463.6 kB / 0.5673 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.3576, allocations: 1.588 MB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.728e-05/0.3576, allocations: 81.7 kB / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.3577, allocations: 4 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.3577, allocations: 23.42 kB / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3577, allocations: 0 / 0.5689 GB, free: 11.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.3804, allocations: 1.779 MB / 0.5707 GB, free: 9.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.53, allocations: 15.94 kB / 0.5707 GB, free: 9.793 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.660789106041193]