Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00132/0.00132, allocations: 113.2 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.001529/0.001529, allocations: 210.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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2454/0.2454, allocations: 46.94 MB / 360.9 MB, free: 4.277 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+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_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 64.12 kB / 0.4961 GB, free: 7.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3585, allocations: 66.04 MB / 0.5606 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003428/0.3619, allocations: 1.925 MB / 0.5625 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3631, allocations: 0.6048 MB / 0.5631 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.267e-05/0.3632, allocations: 0 / 0.5631 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.06e-05/0.3632, allocations: 11.86 kB / 0.5631 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.3635, allocations: 43.69 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.3639, allocations: 83.77 kB / 0.5632 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.3641, allocations: 155.4 kB / 0.5634 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.3643, allocations: 23.12 kB / 0.5634 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002655/0.3645, allocations: 79.7 kB / 0.5635 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.3647, allocations: 67.73 kB / 0.5636 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.3647, allocations: 12 kB / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.3648, allocations: 16 kB / 0.5636 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.3648, allocations: 35.84 kB / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.177e-05/0.3649, allocations: 55.73 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.3652, allocations: 147.4 kB / 0.5638 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3652, allocations: 0 / 0.5638 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3652, allocations: 4 kB / 0.5638 GB, free: 1.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.3652, allocations: 4 kB / 0.5638 GB, free: 1.094 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.0008969/0.3661, allocations: 369.8 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.3662, allocations: 8.031 kB / 0.5642 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.539e-05/0.3662, allocations: 50.73 kB / 0.5642 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.3666, allocations: 44.81 kB / 0.5643 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.3668, allocations: 126.4 kB / 0.5644 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.3668, allocations: 8.375 kB / 0.5644 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.3668, allocations: 4.375 kB / 0.5644 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.3672, allocations: 144.3 kB / 0.5645 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3672, allocations: 0 / 0.5645 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.3672, allocations: 0 / 0.5645 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.3673, allocations: 7.938 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.3676, allocations: 99.86 kB / 0.5646 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/0.3686, allocations: 418.5 kB / 0.565 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.3689, allocations: 94.56 kB / 0.5651 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.369, allocations: 36.83 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.369, allocations: 3.984 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.3691, allocations: 38.56 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.3691, allocations: 7.938 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.00141/0.3705, allocations: 313.1 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.3706, allocations: 110.8 kB / 0.5656 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3708, allocations: 153.6 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3708, allocations: 25.7 kB / 0.5658 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3709, allocations: 112.2 kB / 0.5659 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.3709, allocations: 23.78 kB / 0.5659 GB, free: 14.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.371, allocations: 29.7 kB / 0.5659 GB, free: 14.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3712, allocations: 318.8 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.3715, allocations: 63.94 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.3718, allocations: 92.17 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.3722, allocations: 134.5 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.3722, allocations: 4 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005191/0.3727, allocations: 173.5 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.3727, allocations: 11.88 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3728, allocations: 0 / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3728, allocations: 4 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.3734, allocations: 83.97 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.3749, allocations: 1.396 MB / 0.5682 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.3752, allocations: 28.12 kB / 0.5682 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3752, allocations: 7.922 kB / 0.5682 GB, free: 12.24 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.0001393/0.3753, allocations: 125.8 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.3754, allocations: 7.953 kB / 0.5683 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005062/0.3759, allocations: 162.3 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3759, allocations: 0 / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3759, allocations: 4.062 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3759, allocations: 0 / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008477/0.3767, allocations: 437.4 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3767, allocations: 4 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.3769, allocations: 24.16 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3769, allocations: 0 / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3769, allocations: 7.938 kB / 0.5689 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.3769, allocations: 12.16 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3769, allocations: 0 / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.3774, allocations: 263.2 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.3775, allocations: 11.94 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.3775, allocations: 4 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.3777, allocations: 23.91 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3777, allocations: 4 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3777, allocations: 3.984 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.087e-05/0.3778, allocations: 113.5 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3778, allocations: 4 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.3781, allocations: 32 kB / 0.5694 GB, free: 10.95 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.0008369/0.3789, allocations: 0.7749 MB / 0.5701 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009282/0.3799, allocations: 175.9 kB / 0.5703 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3799, allocations: 0 / 0.5703 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.3801, allocations: 59.89 kB / 0.5704 GB, free: 9.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.3805, allocations: 25.53 kB / 0.5704 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.3842, allocations: 1.983 MB / 0.5723 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.3847, allocations: 0.7047 MB / 0.573 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.3848, allocations: 8.422 kB / 0.573 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.576e-05/0.3849, allocations: 35.42 kB / 0.5731 GB, free: 7.039 MB / 414.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3849, allocations: 0 / 0.5731 GB, free: 7.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03204/0.4169, allocations: 3.267 MB / 0.5762 GB, free: 3.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.78, allocations: 8.062 kB / 0.5763 GB, free: 3.91 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv. Warning: Get data of variable saturatingInductor.Psi from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv failed! Error: Could not read variable saturatingInductor.i in file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv. Warning: Get data of variable saturatingInductor.i from file ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.825096667002072]