Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002013/0.002013, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2707/0.2707, allocations: 46.93 MB / 360.8 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 84.2 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3961, allocations: 66.09 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003607/0.3997, allocations: 1.917 MB / 0.5626 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.4009, allocations: 0.6164 MB / 0.5632 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.401, allocations: 0 / 0.5632 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.564e-05/0.401, allocations: 15.84 kB / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.4013, allocations: 39.7 kB / 0.5632 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.4016, allocations: 83.83 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.4018, allocations: 151.4 kB / 0.5635 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.4019, allocations: 31.11 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.4021, allocations: 67.78 kB / 0.5636 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.4023, allocations: 75.67 kB / 0.5636 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.4023, allocations: 12 kB / 0.5637 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.705e-05/0.4024, allocations: 16 kB / 0.5637 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.4024, allocations: 27.91 kB / 0.5637 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.4025, allocations: 55.73 kB / 0.5637 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.4027, allocations: 151.4 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4027, allocations: 3.938 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4027, allocations: 4 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4027, allocations: 0 / 0.5639 GB, free: 1.008 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.0008191/0.4035, allocations: 377.8 kB / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4036, allocations: 8.031 kB / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.4036, allocations: 38.75 kB / 0.5643 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.4039, allocations: 40.81 kB / 0.5643 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.4041, allocations: 130.4 kB / 0.5645 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4041, allocations: 4.375 kB / 0.5645 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.4041, allocations: 12.38 kB / 0.5645 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.4045, allocations: 136.3 kB / 0.5646 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.4045, allocations: 3.984 kB / 0.5646 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.4045, allocations: 4 kB / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.4045, allocations: 4 kB / 0.5646 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.4048, allocations: 95.92 kB / 0.5647 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.4057, allocations: 426.4 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.4061, allocations: 82.53 kB / 0.5652 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.4062, allocations: 44.86 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.4062, allocations: 4 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.4063, allocations: 34.56 kB / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.4063, allocations: 3.938 kB / 0.5653 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001429/0.4077, allocations: 321.3 kB / 0.5656 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.4078, allocations: 102.8 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.4079, allocations: 156.3 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.408, allocations: 29.7 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.408, allocations: 116.1 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.4081, allocations: 15.86 kB / 0.566 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.4081, allocations: 29.7 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4083, allocations: 318.8 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.4085, allocations: 59.95 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.4088, allocations: 100.2 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.4092, allocations: 130.4 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4092, allocations: 4.031 kB / 0.5666 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005204/0.4097, allocations: 177.5 kB / 0.5668 GB, free: 13.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4097, allocations: 7.938 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4097, allocations: 4.062 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4098, allocations: 7.984 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.4104, allocations: 83.91 kB / 0.5669 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.412, allocations: 1.396 MB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.4122, allocations: 36.25 kB / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.4123, allocations: 8.016 kB / 0.5683 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.0001169/0.4124, allocations: 113.8 kB / 0.5684 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.4124, allocations: 11.94 kB / 0.5684 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005112/0.4129, allocations: 174.2 kB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4129, allocations: 0 / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.4129, allocations: 0 / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4129, allocations: 4 kB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000842/0.4138, allocations: 429.4 kB / 0.569 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4138, allocations: 0 / 0.569 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.4139, allocations: 27.91 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4139, allocations: 8 kB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.414, allocations: 4 kB / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.414, allocations: 3.938 kB / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.414, allocations: 0 / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.4145, allocations: 259.3 kB / 0.5693 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.4145, allocations: 7.953 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.4145, allocations: 0 / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.4148, allocations: 31.91 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.4148, allocations: 3.984 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.4148, allocations: 8 kB / 0.5693 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.464e-05/0.4149, allocations: 111.2 kB / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4149, allocations: 192 / 0.5694 GB, free: 10.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.4152, allocations: 28 kB / 0.5695 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.0008493/0.4161, allocations: 0.7826 MB / 0.5702 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000896/0.417, allocations: 171.9 kB / 0.5704 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.417, allocations: 0 / 0.5704 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.4172, allocations: 63.94 kB / 0.5704 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.4176, allocations: 24.86 kB / 0.5705 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.4213, allocations: 1.985 MB / 0.5724 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.4217, allocations: 0.6969 MB / 0.5731 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.282e-05/0.4218, allocations: 16.36 kB / 0.5731 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.4219, allocations: 39.42 kB / 0.5731 GB, free: 6.949 MB / 414.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4219, allocations: 0 / 0.5731 GB, free: 6.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.4548, allocations: 3.261 MB / 0.5763 GB, free: 3.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.94, allocations: 8.047 kB / 0.5763 GB, free: 3.797 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv. Warning: Get data of variable saturatingInductor.Psi from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv failed! Error: Could not read variable saturatingInductor.i in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv. Warning: Get data of variable saturatingInductor.i from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.144940404999943]