Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.001279/0.001279, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001086/0.001086, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9508/0.9508, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2738/0.2738, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 442.1 MB, free: 1.707 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.845e-05, allocations: 2.281 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.1995/0.1996, allocations: 1.704 MB / 443.8 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002396/0.1998, allocations: 89.86 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.939e-05/0.1999, allocations: 2.781 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.1999, allocations: 11.7 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.2, allocations: 21.98 kB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.984e-05/0.2, allocations: 30.78 kB / 444 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.513e-05/0.2001, allocations: 111 kB / 444.1 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2003, allocations: 39.69 kB / 444.1 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.965e-05/0.2003, allocations: 64.64 kB / 444.2 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.2004, allocations: 34.3 kB / 444.2 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.2004, allocations: 12.06 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.2004, allocations: 12.22 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.2004, allocations: 27.34 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.2005, allocations: 32.47 kB / 444.3 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.2006, allocations: 125.1 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2006, allocations: 2.062 kB / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2006, allocations: 0 / 444.4 MB, free: 43.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.2006, allocations: 0 / 444.4 MB, free: 43.17 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0003665/0.2009, allocations: 352.5 kB / 444.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.201, allocations: 8.875 kB / 444.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.575e-05/0.201, allocations: 40.5 kB / 444.8 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.201, allocations: 10.7 kB / 444.9 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.278e-05/0.2011, allocations: 118.3 kB / 445 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2011, allocations: 6.188 kB / 445 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2011, allocations: 11.5 kB / 445 MB, free: 42.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.2013, allocations: 138.2 kB / 445.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2013, allocations: 192 / 445.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2013, allocations: 384 / 445.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2013, allocations: 6.812 kB / 445.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.2015, allocations: 103.5 kB / 445.2 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004455/0.2019, allocations: 417.7 kB / 445.6 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.2021, allocations: 79.89 kB / 445.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.2022, allocations: 65.78 kB / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.2022, allocations: 0 / 445.8 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.2022, allocations: 34.44 kB / 445.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.2022, allocations: 3.344 kB / 445.8 MB, free: 42.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.000435/0.2027, allocations: 196 kB / 446 MB, free: 42.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.827e-05/0.2027, allocations: 51.41 kB / 446.1 MB, free: 42.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.98e-05/0.2027, allocations: 123.2 kB / 446.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.099e-06/0.2027, allocations: 25.7 kB / 446.2 MB, free: 42.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.2028, allocations: 112 kB / 446.3 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.2028, allocations: 21.17 kB / 446.3 MB, free: 41.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.2028, allocations: 23.52 kB / 446.4 MB, free: 41.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.573e-05/0.2028, allocations: 317.3 kB / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.307e-05/0.2029, allocations: 36.42 kB / 446.7 MB, free: 41.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.203, allocations: 60.06 kB / 446.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2031, allocations: 100.6 kB / 446.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2031, allocations: 0 / 446.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001914/0.2033, allocations: 147.3 kB / 447 MB, free: 41.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2033, allocations: 4.656 kB / 447 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2033, allocations: 0 / 447 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.2034, allocations: 28.89 kB / 447 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.2035, allocations: 24.19 kB / 447.1 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004532/0.204, allocations: 1.299 MB / 448.4 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.204, allocations: 13 kB / 448.4 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.204, allocations: 2.625 kB / 448.4 MB, free: 40.28 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 (5): * Single equations (assignments): 4 * 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 4.377e-05/0.204, allocations: 126.3 kB / 448.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.2041, allocations: 6.578 kB / 448.5 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.655e-06/0.2041, allocations: 16.25 kB / 448.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-07/0.2041, allocations: 2.625 kB / 448.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.2041, allocations: 0 / 448.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2041, allocations: 0 / 448.5 MB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.2044, allocations: 382 kB / 448.9 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2044, allocations: 9.781 kB / 448.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.465e-05/0.2044, allocations: 13.94 kB / 448.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.135e-05/0.2044, allocations: 22.84 kB / 448.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.2044, allocations: 0.9375 kB / 448.9 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003371/0.2048, allocations: 1.303 MB / 450.2 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2048, allocations: 0 / 450.2 MB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.205, allocations: 246.6 kB / 450.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-06/0.205, allocations: 6.609 kB / 450.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.26e-06/0.205, allocations: 2.688 kB / 450.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.151e-05/0.205, allocations: 12.12 kB / 450.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.2051, allocations: 9.922 kB / 450.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.2051, allocations: 2.562 kB / 450.5 MB, free: 38.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.2051, allocations: 93.36 kB / 450.6 MB, free: 38.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2051, allocations: 5.781 kB / 450.6 MB, free: 38.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.2053, allocations: 23.16 kB / 450.6 MB, free: 38.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * 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.0002966/0.2056, allocations: 0.7662 MB / 451.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.2058, allocations: 205.1 kB / 451.6 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2058, allocations: 2.875 kB / 451.6 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.2059, allocations: 161.2 kB / 451.8 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2062, allocations: 10.41 kB / 451.8 MB, free: 37.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2072, allocations: 1.605 MB / 453.4 MB, free: 35.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.046e-05/0.2073, allocations: 86 kB / 453.5 MB, free: 35.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.53e-05/0.2073, allocations: 6.188 kB / 453.5 MB, free: 35.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.2073, allocations: 30.72 kB / 453.5 MB, free: 35.88 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2073, allocations: 0 / 453.5 MB, free: 35.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.2246, allocations: 3.083 MB / 456.6 MB, free: 34.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.197/7.422, allocations: 14.67 kB / 456.6 MB, free: 34.86 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable reluctance.V_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable reluctance.V_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! Error: Could not read variable permeance.V_m in file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable permeance.V_m from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.643343354575336]