Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001198/0.001198, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0009296/0.0009296, allocations: 170.3 kB / 23.95 MB, free: 0.6016 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.8796/0.8796, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2505/0.2505, 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.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.337e-05, allocations: 5.234 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.194/0.1941, allocations: 3.244 MB / 445.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.195, allocations: 0.7902 MB / 446.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.1952, allocations: 14.34 kB / 446.2 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.1953, allocations: 76.91 kB / 446.3 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1955, allocations: 141.2 kB / 446.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1958, allocations: 129.2 kB / 446.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.196, allocations: 0.537 MB / 447.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.1963, allocations: 164 kB / 447.2 MB, free: 42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1965, allocations: 322.4 kB / 447.6 MB, free: 41.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1966, allocations: 169.5 kB / 447.7 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.1967, allocations: 48.81 kB / 447.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.155e-05/0.1967, allocations: 52.5 kB / 447.8 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.1968, allocations: 109 kB / 447.9 MB, free: 41.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.226e-05/0.1969, allocations: 177.8 kB / 448.1 MB, free: 41.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003314/0.1972, allocations: 0.5678 MB / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1972, allocations: 0 / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1972, allocations: 0 / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1972, allocations: 0 / 448.7 MB, free: 41.43 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.0008474/0.198, allocations: 0.6987 MB / 449.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1981, allocations: 8.75 kB / 449.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.156e-05/0.1981, allocations: 87.02 kB / 449.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.1982, allocations: 56.45 kB / 449.5 MB, free: 40.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.1986, allocations: 263 kB / 449.8 MB, free: 40.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.1986, allocations: 30.88 kB / 449.8 MB, free: 40.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.1986, allocations: 45.94 kB / 449.9 MB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004952/0.1991, allocations: 0.5075 MB / 450.4 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1991, allocations: 192 / 450.4 MB, free: 40.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.1992, allocations: 25.81 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1992, allocations: 11.25 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.1996, allocations: 321.1 kB / 450.7 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.2008, allocations: 1.528 MB / 452.2 MB, free: 39.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.2011, allocations: 227.8 kB / 452.5 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.2013, allocations: 125.8 kB / 452.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.2013, allocations: 11.42 kB / 452.6 MB, free: 38.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.2013, allocations: 33.31 kB / 452.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.2013, allocations: 0 / 452.6 MB, free: 38.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.00158/0.2029, allocations: 1.127 MB / 453.8 MB, free: 38.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.2029, allocations: 84.08 kB / 453.8 MB, free: 38.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.2031, allocations: 265.2 kB / 454.1 MB, free: 38.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2031, allocations: 32.7 kB / 454.1 MB, free: 37.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.2032, allocations: 263.1 kB / 454.4 MB, free: 37.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.2032, allocations: 123.5 kB / 454.5 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.2033, allocations: 77.94 kB / 454.6 MB, free: 37.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.904e-05/0.2033, allocations: 338.5 kB / 454.9 MB, free: 37.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.2035, allocations: 116.8 kB / 455 MB, free: 37.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.2036, allocations: 209.8 kB / 455.2 MB, free: 37.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.2039, allocations: 339.5 kB / 455.6 MB, free: 36.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2039, allocations: 2.906 kB / 455.6 MB, free: 36.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004248/0.2044, allocations: 418.4 kB / 456 MB, free: 36.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2044, allocations: 8.875 kB / 456 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2044, allocations: 2.938 kB / 456 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.796e-05/0.2045, allocations: 31.16 kB / 456 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.2047, allocations: 123.3 kB / 456.1 MB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005576/0.2053, allocations: 1.335 MB / 457.5 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.2054, allocations: 17.08 kB / 457.5 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.2054, allocations: 20.03 kB / 457.5 MB, free: 35.34 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.0001348/0.2056, allocations: 165.8 kB / 457.7 MB, free: 35.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.2056, allocations: 34.19 kB / 457.7 MB, free: 35.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.2057, allocations: 39.05 kB / 457.7 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2057, allocations: 5.781 kB / 457.7 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2057, allocations: 0 / 457.7 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2057, allocations: 3.422 kB / 457.8 MB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000821/0.2065, allocations: 0.6503 MB / 458.4 MB, free: 34.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2065, allocations: 2.938 kB / 458.4 MB, free: 34.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.2067, allocations: 98.36 kB / 458.5 MB, free: 34.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.589e-05/0.2068, allocations: 27.28 kB / 458.5 MB, free: 34.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.2068, allocations: 6.406 kB / 458.5 MB, free: 34.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003987/0.2072, allocations: 1.323 MB / 459.9 MB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2072, allocations: 2.781 kB / 459.9 MB, free: 33.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.2077, allocations: 0.598 MB / 460.5 MB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.2077, allocations: 49.7 kB / 460.5 MB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.2078, allocations: 9.953 kB / 460.5 MB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.2079, allocations: 20.78 kB / 460.5 MB, free: 32.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.2079, allocations: 32.7 kB / 460.6 MB, free: 32.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.208, allocations: 6.25 kB / 460.6 MB, free: 32.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.359e-05/0.208, allocations: 187.4 kB / 460.8 MB, free: 32.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.208, allocations: 0 / 460.8 MB, free: 32.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.2083, allocations: 92.59 kB / 460.8 MB, free: 32.81 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.0006227/0.2089, allocations: 1.143 MB / 462 MB, free: 31.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004686/0.2094, allocations: 394.5 kB / 462.4 MB, free: 31.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2094, allocations: 0 / 462.4 MB, free: 31.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.2096, allocations: 246.5 kB / 462.6 MB, free: 31.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2099, allocations: 48.03 kB / 462.7 MB, free: 31.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.2124, allocations: 3.404 MB / 466.1 MB, free: 29.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.2125, allocations: 212.3 kB / 466.3 MB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.003e-05/0.2126, allocations: 33.84 kB / 466.3 MB, free: 29.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.2127, allocations: 141.5 kB / 466.4 MB, free: 28.99 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2127, allocations: 0 / 466.4 MB, free: 28.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.2373, allocations: 7.352 MB / 473.8 MB, free: 27.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.636, allocations: 9.406 kB / 473.8 MB, free: 27.5 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable converter.Phi from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! Error: Could not read variable leakageWithCoefficient.port_p.Phi in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv. Warning: Get data of variable leakageWithCoefficient.port_p.Phi from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.738624213263392]