Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001162/0.001162, 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.001419/0.001419, 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.9423/0.9423, 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.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.2691/0.2691, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.VariableComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 439.6 MB, free: 4.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.198e-05, allocations: 5.234 kB / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002171/0.002193, allocations: 1.704 MB / 441.3 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001953/0.002388, allocations: 79.73 kB / 441.3 MB, free: 2.492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.002441, allocations: 4 kB / 441.3 MB, free: 2.488 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.713e-05/0.002498, allocations: 19.8 kB / 441.4 MB, free: 2.469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.002564, allocations: 23.78 kB / 441.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.002681, allocations: 27.95 kB / 441.4 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.00281, allocations: 111.5 kB / 441.5 MB, free: 2.309 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.002979, allocations: 39.95 kB / 441.6 MB, free: 2.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.22e-05/0.003071, allocations: 59.89 kB / 441.6 MB, free: 2.211 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.00313, allocations: 39.88 kB / 441.7 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.003163, allocations: 12 kB / 441.7 MB, free: 2.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.003175, allocations: 12 kB / 441.7 MB, free: 2.148 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.003201, allocations: 23.92 kB / 441.7 MB, free: 2.125 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.003245, allocations: 35.91 kB / 441.7 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.003399, allocations: 123.6 kB / 441.9 MB, free: 1.969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003401, allocations: 0 / 441.9 MB, free: 1.969 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003401, allocations: 0 / 441.9 MB, free: 1.969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.003406, allocations: 0 / 441.9 MB, free: 1.969 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.0005168/0.003923, allocations: 345.9 kB / 442.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.00397, allocations: 8.031 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.195e-05/0.004011, allocations: 46.73 kB / 442.3 MB, free: 1.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.004038, allocations: 8.891 kB / 442.3 MB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.107e-05/0.004129, allocations: 117.6 kB / 442.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.004142, allocations: 8.375 kB / 442.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.004156, allocations: 12.38 kB / 442.4 MB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.004372, allocations: 124.7 kB / 442.5 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.004383, allocations: 4.125 kB / 442.5 MB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.004396, allocations: 12.31 kB / 442.5 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.004403, allocations: 4.125 kB / 442.5 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004618/0.004865, allocations: 111.9 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.005412, allocations: 406.8 kB / 443 MB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.005576, allocations: 82.52 kB / 443.1 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.005726, allocations: 64.92 kB / 443.2 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.005742, allocations: 0 / 443.2 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.005765, allocations: 38.5 kB / 443.2 MB, free: 476 kB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.005767, allocations: 0 / 443.2 MB, free: 476 kB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004975/0.006264, allocations: 190.3 kB / 443.4 MB, free: 276 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.006295, allocations: 51.41 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.006371, allocations: 122.1 kB / 443.6 MB, free: 80 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.006384, allocations: 29.7 kB / 443.6 MB, free: 44 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2031/0.2095, allocations: 113.1 kB / 443.7 MB, free: 46.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.2096, allocations: 15.52 kB / 443.7 MB, free: 46.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.2096, allocations: 21.44 kB / 443.8 MB, free: 46.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.493e-05/0.2096, allocations: 315.8 kB / 444.1 MB, free: 46.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.2098, allocations: 40.38 kB / 444.1 MB, free: 46.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-05/0.2098, allocations: 56.7 kB / 444.2 MB, free: 46.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.21, allocations: 97.77 kB / 444.3 MB, free: 46.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.21, allocations: 3.531 kB / 444.3 MB, free: 46.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003267/0.2103, allocations: 150.7 kB / 444.4 MB, free: 45.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2104, allocations: 5.344 kB / 444.4 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2104, allocations: 0 / 444.4 MB, free: 45.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.2106, allocations: 22.61 kB / 444.4 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.2107, allocations: 26.47 kB / 444.5 MB, free: 45.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008066/0.2115, allocations: 1.299 MB / 445.8 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.2115, allocations: 22.64 kB / 445.8 MB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2115, allocations: 6.156 kB / 445.8 MB, free: 44.76 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 8.287e-05/0.2116, allocations: 115.8 kB / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.2116, allocations: 6.953 kB / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.882e-05/0.2117, allocations: 14.47 kB / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.2117, allocations: 0 / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2117, allocations: 0 / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.2117, allocations: 2.875 kB / 445.9 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.2121, allocations: 393.6 kB / 446.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2121, allocations: 3.938 kB / 446.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.2122, allocations: 19.02 kB / 446.3 MB, free: 44.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.134e-05/0.2122, allocations: 22.05 kB / 446.4 MB, free: 44.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2122, allocations: 0 / 446.4 MB, free: 44.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004946/0.2127, allocations: 1.298 MB / 447.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2127, allocations: 6.156 kB / 447.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.213, allocations: 237 kB / 447.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.213, allocations: 7.156 kB / 447.9 MB, free: 42.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-06/0.213, allocations: 10.19 kB / 447.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.213, allocations: 13.77 kB / 447.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.2131, allocations: 10.03 kB / 447.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2131, allocations: 0 / 447.9 MB, free: 42.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.989e-05/0.2131, allocations: 95.06 kB / 448 MB, free: 42.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2131, allocations: 224 / 448 MB, free: 42.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001731/0.2133, allocations: 30.95 kB / 448.1 MB, free: 42.87 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.0003432/0.2136, allocations: 0.7669 MB / 448.8 MB, free: 42.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.2139, allocations: 205.6 kB / 449 MB, free: 42.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2139, allocations: 2.781 kB / 449 MB, free: 42.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.214, allocations: 154.5 kB / 449.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.2143, allocations: 11.25 kB / 449.2 MB, free: 41.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.2154, allocations: 1.606 MB / 450.8 MB, free: 40.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.2155, allocations: 83.84 kB / 450.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.58e-05/0.2155, allocations: 2.875 kB / 450.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.2155, allocations: 30.89 kB / 450.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2155, allocations: 0 / 450.9 MB, free: 40.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.2347, allocations: 3.093 MB / 454 MB, free: 39.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.271, allocations: 11.86 kB / 454 MB, free: 39.48 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Magnetic_FluxTubes_VariableComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable reluctance.V_m from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! Error: Could not read variable permeance.V_m in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv. Warning: Get data of variable permeance.V_m from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.461088676005602]