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.001266/0.001266, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001393/0.001393, allocations: 212.2 kB / 23.73 MB, free: 4.523 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2349/0.2349, allocations: 46.95 MB / 360.9 MB, free: 4.023 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.001923/0.001923, allocations: 67.88 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3681, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003196/0.3713, allocations: 1.854 MB / 0.5624 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3723, allocations: 0.5542 MB / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.3724, allocations: 4 kB / 0.5629 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.266e-05/0.3725, allocations: 15.8 kB / 0.5629 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.3727, allocations: 43.69 kB / 0.563 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.373, allocations: 83.7 kB / 0.5631 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.3732, allocations: 159.4 kB / 0.5632 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3733, allocations: 23.12 kB / 0.5632 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.3735, allocations: 79.75 kB / 0.5633 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.3736, allocations: 63.7 kB / 0.5634 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.3736, allocations: 12 kB / 0.5634 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.619e-05/0.3737, allocations: 19.98 kB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.3737, allocations: 31.92 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.3738, allocations: 51.77 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.374, allocations: 151.4 kB / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.374, allocations: 0 / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.374, allocations: 0 / 0.5636 GB, free: 1.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.374, allocations: 0 / 0.5636 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.0007891/0.3748, allocations: 377.8 kB / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3748, allocations: 12.03 kB / 0.564 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.147e-05/0.3749, allocations: 38.69 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.3752, allocations: 44.81 kB / 0.5641 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3753, allocations: 126.4 kB / 0.5642 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3753, allocations: 8.375 kB / 0.5642 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.3754, allocations: 8.375 kB / 0.5642 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.3757, allocations: 190.5 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3757, allocations: 4 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3757, allocations: 4 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3757, allocations: 0 / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.3761, allocations: 99.83 kB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008398/0.3769, allocations: 398.6 kB / 0.5649 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.3772, allocations: 90.45 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.3774, allocations: 40.92 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3774, allocations: 4 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3774, allocations: 30.56 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3774, allocations: 0 / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001329/0.3787, allocations: 325.1 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.3788, allocations: 106.8 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.379, allocations: 160.5 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.379, allocations: 25.7 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/0.3791, allocations: 108.2 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.3791, allocations: 23.8 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.3792, allocations: 29.7 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3793, allocations: 326.8 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.3795, allocations: 59.94 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.3798, allocations: 139.7 kB / 0.5663 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.3802, allocations: 146.5 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3802, allocations: 0 / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005348/0.3808, allocations: 177.5 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3808, allocations: 7.938 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3808, allocations: 0 / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3808, allocations: 4 kB / 0.5666 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.3814, allocations: 87.97 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.3829, allocations: 1.385 MB / 0.568 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.3831, allocations: 32.19 kB / 0.5681 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.3832, allocations: 3.938 kB / 0.5681 GB, free: 12.15 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.0001174/0.3833, allocations: 122 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.3833, allocations: 7.953 kB / 0.5682 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.3838, allocations: 174.2 kB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3838, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.3838, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3838, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.3847, allocations: 421.4 kB / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3847, allocations: 0 / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.3848, allocations: 27.91 kB / 0.5688 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.3848, allocations: 4 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3848, allocations: 4 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3848, allocations: 4.172 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3848, allocations: 4 kB / 0.5688 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005318/0.3854, allocations: 251.4 kB / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/0.3854, allocations: 12.17 kB / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.3854, allocations: 0 / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.3856, allocations: 35.91 kB / 0.5691 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.3857, allocations: 11.97 kB / 0.5691 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.3857, allocations: 4 kB / 0.5691 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.718e-05/0.3858, allocations: 111.2 kB / 0.5692 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3858, allocations: 0 / 0.5692 GB, free: 10.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3861, allocations: 28 kB / 0.5692 GB, free: 10.87 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.0008509/0.3869, allocations: 0.7826 MB / 0.57 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008629/0.3878, allocations: 167.8 kB / 0.5702 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3878, allocations: 0 / 0.5702 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.388, allocations: 64.08 kB / 0.5702 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.3884, allocations: 23.92 kB / 0.5703 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.3921, allocations: 1.975 MB / 0.5722 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.771e-05/0.3922, allocations: 92.75 kB / 0.5723 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.926e-05/0.3922, allocations: 12.42 kB / 0.5723 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.3923, allocations: 31.42 kB / 0.5723 GB, free: 7.586 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3923, allocations: 0 / 0.5723 GB, free: 7.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.4239, allocations: 3.868 MB / 0.5761 GB, free: 3.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.61, allocations: 2.578 kB / 0.5761 GB, free: 3.863 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.57152484098333]