Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.0008414/0.0008414, 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.0008135/0.0008135, 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.9203/0.9203, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2496/0.2496, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 3.938 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.776e-05, allocations: 2.281 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003579/0.003607, allocations: 3.237 MB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.00483, allocations: 0.8061 MB / 443.6 MB, free: 200 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.00502, allocations: 8 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.005184, allocations: 75.23 kB / 443.7 MB, free: 116 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1865/0.1917, allocations: 140.4 kB / 443.8 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.1922, allocations: 123 kB / 444 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.1928, allocations: 0.5356 MB / 444.5 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.1931, allocations: 171.3 kB / 444.7 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.1933, allocations: 315.8 kB / 445 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.1935, allocations: 171.7 kB / 445.1 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.1936, allocations: 46.91 kB / 445.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.639e-05/0.1936, allocations: 49.59 kB / 445.2 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.1937, allocations: 117.5 kB / 445.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1938, allocations: 173.1 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.1942, allocations: 0.5667 MB / 446.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1942, allocations: 2.812 kB / 446.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1942, allocations: 0 / 446.1 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1942, allocations: 0 / 446.1 MB, free: 43.07 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009354/0.1952, allocations: 0.6954 MB / 446.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.1952, allocations: 12 kB / 446.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.306e-05/0.1953, allocations: 90.25 kB / 446.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.1954, allocations: 54.92 kB / 446.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.1958, allocations: 253.8 kB / 447.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.1958, allocations: 42.3 kB / 447.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.757e-05/0.1958, allocations: 44.41 kB / 447.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.1964, allocations: 0.5022 MB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1964, allocations: 192 / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.1964, allocations: 21.41 kB / 447.8 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1964, allocations: 22.64 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.1969, allocations: 320.5 kB / 448.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.1983, allocations: 1.517 MB / 449.6 MB, free: 41.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.1987, allocations: 231.4 kB / 449.9 MB, free: 40.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.1989, allocations: 126 kB / 450 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1989, allocations: 10.41 kB / 450 MB, free: 40.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.1989, allocations: 33.47 kB / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.714e-06/0.1989, allocations: 0 / 450 MB, free: 40.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001907/0.2008, allocations: 1.127 MB / 451.2 MB, free: 40.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.2008, allocations: 93.3 kB / 451.3 MB, free: 40.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.201, allocations: 263.4 kB / 451.5 MB, free: 39.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.2011, allocations: 32.27 kB / 451.5 MB, free: 39.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.2011, allocations: 271.8 kB / 451.8 MB, free: 39.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.2012, allocations: 121.8 kB / 451.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.2013, allocations: 76.69 kB / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.2013, allocations: 335.5 kB / 452.3 MB, free: 39.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.2015, allocations: 111.1 kB / 452.4 MB, free: 39.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.2016, allocations: 205.6 kB / 452.6 MB, free: 39.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.202, allocations: 346.2 kB / 453 MB, free: 38.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.202, allocations: 2.812 kB / 453 MB, free: 38.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004655/0.2025, allocations: 418.2 kB / 453.4 MB, free: 38.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2025, allocations: 6.219 kB / 453.4 MB, free: 38.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2025, allocations: 3.188 kB / 453.4 MB, free: 38.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.2026, allocations: 38.06 kB / 453.4 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.2028, allocations: 121.4 kB / 453.6 MB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006131/0.2035, allocations: 1.337 MB / 454.9 MB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.2036, allocations: 13.47 kB / 454.9 MB, free: 37.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.2036, allocations: 17 kB / 454.9 MB, free: 37.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.2038, allocations: 168.3 kB / 455.1 MB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.2038, allocations: 40.55 kB / 455.1 MB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.2039, allocations: 43.27 kB / 455.2 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2039, allocations: 2.844 kB / 455.2 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.2039, allocations: 3.281 kB / 455.2 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2039, allocations: 3.234 kB / 455.2 MB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/0.2045, allocations: 0.6439 MB / 455.8 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2045, allocations: 3.234 kB / 455.8 MB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.2047, allocations: 92.27 kB / 455.9 MB, free: 36.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.286e-05/0.2048, allocations: 32.61 kB / 455.9 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2048, allocations: 8.344 kB / 456 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005153/0.2053, allocations: 1.318 MB / 457.3 MB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2053, allocations: 0 / 457.3 MB, free: 35.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.2059, allocations: 0.607 MB / 457.9 MB, free: 35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.206, allocations: 44.14 kB / 457.9 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.206, allocations: 10.53 kB / 457.9 MB, free: 34.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.2061, allocations: 16.95 kB / 457.9 MB, free: 34.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.2062, allocations: 31.42 kB / 458 MB, free: 34.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2062, allocations: 20.41 kB / 458 MB, free: 34.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.2063, allocations: 179.9 kB / 458.2 MB, free: 34.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2063, allocations: 3.25 kB / 458.2 MB, free: 34.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003291/0.2066, allocations: 91.5 kB / 458.3 MB, free: 34.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006422/0.2073, allocations: 1.145 MB / 459.4 MB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.2078, allocations: 391 kB / 459.8 MB, free: 33.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2078, allocations: 0 / 459.8 MB, free: 33.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.208, allocations: 252.5 kB / 460 MB, free: 33.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.2083, allocations: 46.89 kB / 460.1 MB, free: 33.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.211, allocations: 3.401 MB / 463.5 MB, free: 31.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2111, allocations: 210.7 kB / 463.7 MB, free: 31.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.2112, allocations: 32.88 kB / 463.7 MB, free: 31.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.2113, allocations: 145.5 kB / 463.9 MB, free: 31.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/0.2113, allocations: 3.938 kB / 463.9 MB, free: 31.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.2352, allocations: 7.357 MB / 471.2 MB, free: 29.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.303/7.539, allocations: 3.562 kB / 471.2 MB, free: 29.6 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00300043 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter.Phi in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.682889699935913]