Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.00141/0.00141, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001523/0.001523, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2314/0.2314, allocations: 44.91 MB / 358.8 MB, free: 6.32 MB / 286.1 MB " [Timeout remaining time 179] 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.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",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.002011/0.002011, allocations: 63.91 kB / 0.4931 GB, free: 10.78 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4312, allocations: 65.47 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.004231/0.4354, allocations: 1.925 MB / 0.5589 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.4368, allocations: 0.6048 MB / 0.5595 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.4369, allocations: 0 / 0.5595 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.449e-05/0.437, allocations: 19.8 kB / 0.5595 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.4373, allocations: 43.69 kB / 0.5595 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.4376, allocations: 79.83 kB / 0.5596 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.4378, allocations: 151.4 kB / 0.5598 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.438, allocations: 27.14 kB / 0.5598 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.4383, allocations: 75.75 kB / 0.5599 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.4384, allocations: 75.67 kB / 0.5599 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.4384, allocations: 12 kB / 0.5599 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.41e-05/0.4385, allocations: 16 kB / 0.56 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.4385, allocations: 23.92 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.4386, allocations: 59.72 kB / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.4388, allocations: 151.4 kB / 0.5602 GB, free: 4.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4388, allocations: 0 / 0.5602 GB, free: 4.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4388, allocations: 0 / 0.5602 GB, free: 4.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4388, allocations: 4 kB / 0.5602 GB, free: 4.539 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008249/0.4397, allocations: 373.8 kB / 0.5605 GB, free: 4.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4397, allocations: 12.03 kB / 0.5606 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.538e-05/0.4398, allocations: 42.69 kB / 0.5606 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003087/0.4401, allocations: 44.81 kB / 0.5606 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.4402, allocations: 126.4 kB / 0.5608 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4403, allocations: 4.375 kB / 0.5608 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.4403, allocations: 12.31 kB / 0.5608 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.4406, allocations: 142.8 kB / 0.5609 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4406, allocations: 0 / 0.5609 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.4407, allocations: 8 kB / 0.5609 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4407, allocations: 0 / 0.5609 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.441, allocations: 95.92 kB / 0.561 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008608/0.4419, allocations: 422.4 kB / 0.5614 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.4422, allocations: 90.52 kB / 0.5615 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.4423, allocations: 44.91 kB / 0.5615 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.4424, allocations: 0 / 0.5615 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.4424, allocations: 50.44 kB / 0.5616 GB, free: 2.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.4424, allocations: 0 / 0.5616 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.001357/0.4438, allocations: 313.1 kB / 0.5619 GB, free: 2.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.4438, allocations: 106.8 kB / 0.562 GB, free: 2.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.444, allocations: 156.1 kB / 0.5621 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.444, allocations: 25.7 kB / 0.5622 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.4441, allocations: 120.2 kB / 0.5623 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.4441, allocations: 23.8 kB / 0.5623 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-05/0.4442, allocations: 25.7 kB / 0.5623 GB, free: 2.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4443, allocations: 318.8 kB / 0.5626 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.4446, allocations: 59.95 kB / 0.5627 GB, free: 1.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.4448, allocations: 96.23 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.4452, allocations: 134.5 kB / 0.5629 GB, free: 1.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4452, allocations: 0 / 0.5629 GB, free: 1.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000541/0.4458, allocations: 173.5 kB / 0.5631 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4458, allocations: 7.938 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4458, allocations: 0 / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4458, allocations: 7.984 kB / 0.5631 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.4464, allocations: 87.97 kB / 0.5632 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.4481, allocations: 1.4 MB / 0.5645 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.4483, allocations: 28.12 kB / 0.5646 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.4483, allocations: 11.94 kB / 0.5646 GB, free: 15.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.4484, allocations: 113.8 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.4485, allocations: 7.953 kB / 0.5647 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.449, allocations: 170.3 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.449, allocations: 0 / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.449, allocations: 4.188 kB / 0.5649 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.449, allocations: 3.938 kB / 0.5649 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008811/0.4499, allocations: 437.4 kB / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4499, allocations: 0 / 0.5653 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.45, allocations: 23.97 kB / 0.5653 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.45, allocations: 4 kB / 0.5653 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4501, allocations: 4 kB / 0.5653 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.4501, allocations: 8 kB / 0.5653 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4501, allocations: 7.938 kB / 0.5653 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.4506, allocations: 255.3 kB / 0.5656 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.4506, allocations: 12.23 kB / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4506, allocations: 0 / 0.5656 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.4508, allocations: 27.91 kB / 0.5656 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.4509, allocations: 7.984 kB / 0.5656 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.4509, allocations: 7.984 kB / 0.5656 GB, free: 14.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.99e-05/0.451, allocations: 108.5 kB / 0.5657 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.451, allocations: 0 / 0.5657 GB, free: 14.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.4513, allocations: 36 kB / 0.5658 GB, free: 14.38 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 (7): * Single equations (assignments): 7 * 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.0009225/0.4522, allocations: 0.7826 MB / 0.5665 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008842/0.4531, allocations: 167.9 kB / 0.5667 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.4531, allocations: 0 / 0.5667 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.4533, allocations: 59.95 kB / 0.5667 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.4537, allocations: 19.92 kB / 0.5668 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.4573, allocations: 1.976 MB / 0.5687 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.4577, allocations: 0.7041 MB / 0.5694 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.834e-05/0.4578, allocations: 8.438 kB / 0.5694 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.4579, allocations: 31.42 kB / 0.5694 GB, free: 10.49 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4579, allocations: 0 / 0.5694 GB, free: 10.49 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.4903, allocations: 3.287 MB / 0.5726 GB, free: 7.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.83, allocations: 7.859 kB / 0.5726 GB, free: 7.344 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable saturatingInductor.Psi in file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv. Warning: Get data of variable saturatingInductor.Psi from file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv failed! Error: Could not read variable saturatingInductor.i in file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv. Warning: Get data of variable saturatingInductor.i from file ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.978389566997066]