Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.0009612/0.0009612, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009844/0.0009844, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9587/0.9587, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.288/0.288, allocations: 34.25 MB / 294.9 MB, free: 0.7148 MB / 266.7 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.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 3.938 kB / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.401e-05, allocations: 2.281 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.1771/0.1771, allocations: 4.753 MB / 446.9 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1792, allocations: 1.578 MB / 448.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.1795, allocations: 17.38 kB / 448.5 MB, free: 41.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.181, allocations: 1.562 MB / 450.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006428/0.1817, allocations: 328.3 kB / 450.4 MB, free: 40 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006983/0.1823, allocations: 0.4977 MB / 450.9 MB, free: 39.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000562/0.1829, allocations: 0.8286 MB / 451.7 MB, free: 39.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007117/0.1836, allocations: 0.6352 MB / 452.4 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005422/0.1842, allocations: 0.4996 MB / 452.9 MB, free: 38.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.1845, allocations: 351 kB / 453.2 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.713e-05/0.1846, allocations: 73.53 kB / 453.3 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.185, allocations: 196 kB / 453.5 MB, free: 38.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.1851, allocations: 182.5 kB / 453.7 MB, free: 38.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.1852, allocations: 284.5 kB / 453.9 MB, free: 38.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008735/0.1861, allocations: 1.186 MB / 455.1 MB, free: 37.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1861, allocations: 3.938 kB / 455.1 MB, free: 37.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1861, allocations: 0 / 455.1 MB, free: 37.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.1862, allocations: 0 / 455.1 MB, free: 37.8 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003233/0.1894, allocations: 1.3 MB / 456.4 MB, free: 37.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.364e-05/0.1895, allocations: 11.5 kB / 456.4 MB, free: 37.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002226/0.1897, allocations: 153.1 kB / 456.6 MB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.1911, allocations: 231.2 kB / 456.8 MB, free: 36.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1914, allocations: 200.4 kB / 457 MB, free: 36.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.748e-05/0.1915, allocations: 74.34 kB / 457.1 MB, free: 36.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.1916, allocations: 102.4 kB / 457.2 MB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.1933, allocations: 0.9348 MB / 458.1 MB, free: 36.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/0.1933, allocations: 17.14 kB / 458.1 MB, free: 36.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.404e-05/0.1934, allocations: 41.41 kB / 458.2 MB, free: 36.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.1934, allocations: 24.47 kB / 458.2 MB, free: 36.17 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.1948, allocations: 0.7152 MB / 458.9 MB, free: 35.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/0.1981, allocations: 2.828 MB / 461.7 MB, free: 34.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.1992, allocations: 0.7593 MB / 462.5 MB, free: 33.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.1994, allocations: 262.3 kB / 462.8 MB, free: 33.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.041e-05/0.1995, allocations: 34.86 kB / 462.8 MB, free: 33.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1995, allocations: 45.14 kB / 462.8 MB, free: 33.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 3.567e-06/0.1995, allocations: 0 / 462.8 MB, free: 33.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.001621/0.2012, allocations: 1.015 MB / 463.8 MB, free: 33.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.2012, allocations: 134.8 kB / 464 MB, free: 32.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.2014, allocations: 332.5 kB / 464.3 MB, free: 32.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.2015, allocations: 36.95 kB / 464.3 MB, free: 32.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.2016, allocations: 413.4 kB / 464.7 MB, free: 32.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.2017, allocations: 228.5 kB / 465 MB, free: 32.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.2018, allocations: 151.6 kB / 465.1 MB, free: 32.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.2018, allocations: 358 kB / 465.5 MB, free: 31.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.202, allocations: 195.9 kB / 465.7 MB, free: 31.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.2023, allocations: 408.8 kB / 466.1 MB, free: 31.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.2028, allocations: 0.6288 MB / 466.7 MB, free: 31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.2028, allocations: 3.188 kB / 466.7 MB, free: 31 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008736/0.2037, allocations: 0.8798 MB / 467.6 MB, free: 30.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2037, allocations: 10.44 kB / 467.6 MB, free: 30.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2037, allocations: 6.219 kB / 467.6 MB, free: 30.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.2042, allocations: 226.1 kB / 467.8 MB, free: 30.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.2044, allocations: 136.5 kB / 467.9 MB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/0.2073, allocations: 6.254 MB / 474.2 MB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.2076, allocations: 81.2 kB / 474.3 MB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.2076, allocations: 39.03 kB / 474.3 MB, free: 24.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.2078, allocations: 224.5 kB / 474.5 MB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.288e-05/0.2079, allocations: 44.42 kB / 474.6 MB, free: 24.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/0.2086, allocations: 0.6865 MB / 475.3 MB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2086, allocations: 6.812 kB / 475.3 MB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.2086, allocations: 6.594 kB / 475.3 MB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2086, allocations: 3.281 kB / 475.3 MB, free: 24.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.21, allocations: 1.457 MB / 476.7 MB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.21, allocations: 6.828 kB / 476.7 MB, free: 23.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.2101, allocations: 68.55 kB / 476.8 MB, free: 23.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.2104, allocations: 217 kB / 477 MB, free: 23.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.2105, allocations: 15.34 kB / 477 MB, free: 23.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.2129, allocations: 6.236 MB / 483.3 MB, free: 17.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2129, allocations: 3.938 kB / 483.3 MB, free: 17.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008755/0.2137, allocations: 1.191 MB / 484.5 MB, free: 16.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/0.2138, allocations: 57.28 kB / 484.5 MB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.2138, allocations: 11.06 kB / 484.5 MB, free: 16.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.214, allocations: 21.66 kB / 484.5 MB, free: 16.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.136e-05/0.2141, allocations: 57.53 kB / 484.6 MB, free: 16.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.2141, allocations: 20.14 kB / 484.6 MB, free: 16.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.2143, allocations: 215.7 kB / 484.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2143, allocations: 0 / 484.8 MB, free: 16.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008462/0.2151, allocations: 285.7 kB / 485.1 MB, free: 16.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/0.2164, allocations: 1.761 MB / 486.9 MB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.2174, allocations: 1.047 MB / 487.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2174, allocations: 1.125 kB / 487.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.2179, allocations: 0.7604 MB / 488.7 MB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.2183, allocations: 53.77 kB / 488.7 MB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/0.224, allocations: 5.084 MB / 493.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2243, allocations: 318.7 kB / 494.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.2245, allocations: 63.53 kB / 494.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.2247, allocations: 235.8 kB / 494.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.735e-06/0.2247, allocations: 0 / 494.4 MB, free: 10.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/0.2622, allocations: 12.91 MB / 0.4954 GB, free: 8.008 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.699, allocations: 9.047 kB / 0.4955 GB, free: 8 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable quarterHollowSphere.port_p.reference.gamma in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv. Warning: Get data of variable quarterHollowSphere.port_p.reference.gamma from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.893069829791784]