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.001778/0.001778, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002266/0.002266, allocations: 211.9 kB / 23.73 MB, free: 4.16 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2312/0.2312, allocations: 46.97 MB / 360.9 MB, free: 4.027 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.002098/0.002098, allocations: 75.88 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.33, allocations: 66.03 MB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003385/0.3334, allocations: 1.858 MB / 0.5624 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3346, allocations: 0.5504 MB / 0.5629 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.3346, allocations: 3.938 kB / 0.5629 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.131e-05/0.3347, allocations: 15.86 kB / 0.563 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.3349, allocations: 43.62 kB / 0.563 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.3352, allocations: 83.83 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3354, allocations: 155.4 kB / 0.5632 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3355, allocations: 27.11 kB / 0.5633 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.3358, allocations: 71.78 kB / 0.5633 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3359, allocations: 55.73 kB / 0.5634 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.3359, allocations: 16 kB / 0.5634 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.802e-05/0.336, allocations: 16 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.336, allocations: 31.84 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.3361, allocations: 55.78 kB / 0.5635 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.3363, allocations: 139.4 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3363, allocations: 4 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3363, allocations: 0 / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3363, allocations: 0 / 0.5636 GB, free: 1.102 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.0008441/0.3372, allocations: 377.8 kB / 0.564 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3372, allocations: 8.031 kB / 0.564 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.737e-05/0.3373, allocations: 42.75 kB / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.3375, allocations: 40.81 kB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.3377, allocations: 134.4 kB / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.3377, allocations: 8.375 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.3378, allocations: 4.375 kB / 0.5642 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.3381, allocations: 195.7 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3381, allocations: 0 / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.3382, allocations: 7.875 kB / 0.5644 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.3382, allocations: 4 kB / 0.5644 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.3385, allocations: 95.83 kB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008493/0.3394, allocations: 394.6 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.3397, allocations: 90.52 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.3398, allocations: 40.92 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.3398, allocations: 0 / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3399, allocations: 42.55 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3399, allocations: 0 / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.00138/0.3413, allocations: 325 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.3413, allocations: 102.8 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3415, allocations: 152 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.3415, allocations: 25.7 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.3416, allocations: 116.2 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.3416, allocations: 23.78 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.3417, allocations: 33.64 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3418, allocations: 318.8 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.3421, allocations: 59.95 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.3423, allocations: 147.6 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.3428, allocations: 134.5 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3428, allocations: 0 / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005482/0.3433, allocations: 177.5 kB / 0.5666 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.3434, allocations: 14.12 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3434, allocations: 64 / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3434, allocations: 4 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.344, allocations: 87.97 kB / 0.5667 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.3455, allocations: 1.385 MB / 0.568 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3457, allocations: 32.19 kB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.3457, allocations: 7.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.0001402/0.3458, allocations: 117.8 kB / 0.5682 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.3459, allocations: 11.95 kB / 0.5682 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/0.3464, allocations: 166.3 kB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3464, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3464, allocations: 3.984 kB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3464, allocations: 0 / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.3472, allocations: 421.5 kB / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3472, allocations: 192 / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3474, allocations: 27.97 kB / 0.5688 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3474, allocations: 3.938 kB / 0.5688 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3474, allocations: 4 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3474, allocations: 3.938 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3474, allocations: 4 kB / 0.5688 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.3479, allocations: 255.3 kB / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.348, allocations: 7.938 kB / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.348, allocations: 4 kB / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3482, allocations: 31.91 kB / 0.5691 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.3482, allocations: 4.281 kB / 0.5691 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.3482, allocations: 3.984 kB / 0.5691 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.387e-05/0.3483, allocations: 111.3 kB / 0.5692 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3483, allocations: 0 / 0.5692 GB, free: 10.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.3486, allocations: 28 kB / 0.5692 GB, free: 10.88 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.00086/0.3495, allocations: 0.7865 MB / 0.57 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008572/0.3503, allocations: 168 kB / 0.5702 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3503, allocations: 0 / 0.5702 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.3506, allocations: 63.88 kB / 0.5702 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.3509, allocations: 23.92 kB / 0.5702 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003574/0.3545, allocations: 1.983 MB / 0.5722 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.452e-05/0.3546, allocations: 88.81 kB / 0.5723 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.614e-05/0.3547, allocations: 16.41 kB / 0.5723 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.564e-05/0.3548, allocations: 35.42 kB / 0.5723 GB, free: 7.582 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3548, allocations: 0 / 0.5723 GB, free: 7.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.3865, allocations: 3.813 MB / 0.576 GB, free: 3.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.2, allocations: 26.16 kB / 0.5761 GB, free: 3.895 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: 16.13608350697905]