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.0006658/0.0006658, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008483/0.0008483, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8987/0.8987, allocations: 177 MB / 204.1 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.2414/0.2414, allocations: 34.25 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] 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 1.503e-06/1.503e-06, allocations: 0 / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.486e-05, allocations: 5.094 kB / 442.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.1933/0.1933, allocations: 1.857 MB / 444 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007182/0.1941, allocations: 0.5535 MB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.1941, allocations: 2.844 kB / 444.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.1942, allocations: 12.83 kB / 444.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1943, allocations: 52.52 kB / 444.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1945, allocations: 75.98 kB / 444.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.1946, allocations: 163.8 kB / 444.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1947, allocations: 27.91 kB / 444.9 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.1949, allocations: 102.5 kB / 445 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.195, allocations: 53.27 kB / 445 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.195, allocations: 11.69 kB / 445 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.996e-05/0.195, allocations: 17.78 kB / 445.1 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.1951, allocations: 39.61 kB / 445.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.1951, allocations: 38.3 kB / 445.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1952, allocations: 153.5 kB / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1952, allocations: 0 / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1952, allocations: 0 / 445.3 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1952, allocations: 0 / 445.3 MB, free: 42.99 MB / 410.7 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.0004705/0.1957, allocations: 376.5 kB / 445.6 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1958, allocations: 8.781 kB / 445.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.1958, allocations: 42.98 kB / 445.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.1959, allocations: 39.2 kB / 445.7 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/0.196, allocations: 139 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.196, allocations: 7.531 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.196, allocations: 7.875 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.1962, allocations: 188.2 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1963, allocations: 192 / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1963, allocations: 13.88 kB / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1963, allocations: 0 / 446.1 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.1964, allocations: 95.55 kB / 446.2 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.1969, allocations: 395.7 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.197, allocations: 93.77 kB / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/0.1971, allocations: 43.89 kB / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1971, allocations: 0 / 446.7 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.1971, allocations: 33.5 kB / 446.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.1971, allocations: 0 / 446.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007065/0.1979, allocations: 319.2 kB / 447 MB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.1979, allocations: 105.8 kB / 447.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.1979, allocations: 147.5 kB / 447.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.198, allocations: 25.7 kB / 447.3 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.198, allocations: 113.5 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.198, allocations: 22.41 kB / 447.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.1981, allocations: 32.62 kB / 447.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.839e-05/0.1981, allocations: 325.6 kB / 447.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.1982, allocations: 57.42 kB / 447.9 MB, free: 41.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1983, allocations: 147.2 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1985, allocations: 132.9 kB / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1985, allocations: 0 / 448.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002508/0.1988, allocations: 175.6 kB / 448.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.1988, allocations: 5.344 kB / 448.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1988, allocations: 5.312 kB / 448.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1988, allocations: 3.938 kB / 448.3 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/0.1992, allocations: 94.42 kB / 448.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000802/0.2, allocations: 1.383 MB / 449.8 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.2001, allocations: 35.03 kB / 449.8 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.2001, allocations: 2.812 kB / 449.8 MB, free: 39.6 MB / 410.7 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 6.976e-05/0.2002, allocations: 124.7 kB / 449.9 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.2002, allocations: 9.422 kB / 450 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.2006, allocations: 171.7 kB / 450.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.2006, allocations: 0 / 450.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.2006, allocations: 0 / 450.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2006, allocations: 0 / 450.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.2011, allocations: 425.7 kB / 450.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2011, allocations: 0 / 450.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.2012, allocations: 23.88 kB / 450.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2012, allocations: 6.297 kB / 450.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2012, allocations: 2.688 kB / 450.6 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2012, allocations: 4 kB / 450.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2012, allocations: 0 / 450.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.2014, allocations: 259.4 kB / 450.8 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.2014, allocations: 6.703 kB / 450.8 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.2015, allocations: 3.328 kB / 450.8 MB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.2016, allocations: 31.09 kB / 450.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.2016, allocations: 3.328 kB / 450.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.2016, allocations: 6.812 kB / 450.9 MB, free: 38.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.804e-05/0.2016, allocations: 119.1 kB / 451 MB, free: 38.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2016, allocations: 2.938 kB / 451 MB, free: 38.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001676/0.2018, allocations: 25.94 kB / 451 MB, free: 38.8 MB / 410.7 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.0003203/0.2021, allocations: 0.7726 MB / 451.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.2025, allocations: 170.4 kB / 452 MB, free: 38.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.2025, allocations: 3.938 kB / 452 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2027, allocations: 65.25 kB / 452 MB, free: 38.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2029, allocations: 17.53 kB / 452 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.2049, allocations: 1.977 MB / 454 MB, free: 36.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.056e-05/0.205, allocations: 90.28 kB / 454.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.829e-05/0.2051, allocations: 12.55 kB / 454.1 MB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.2051, allocations: 33.8 kB / 454.2 MB, free: 36.53 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2051, allocations: 112 / 454.2 MB, free: 36.53 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.2216, allocations: 3.977 MB / 458.1 MB, free: 35.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.975, allocations: 7.078 kB / 458.1 MB, free: 35.42 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins/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: 10.004871466197073]