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.001725/0.001725, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 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.00214/0.00214, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2586/0.2586, allocations: 46.93 MB / 360.9 MB, free: 4.258 MB / 286.1 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 0.001901/0.001901, allocations: 67.89 kB / 0.4961 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.323, allocations: 66.03 MB / 0.5606 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003358/0.3264, allocations: 1.748 MB / 0.5623 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001717/0.3265, allocations: 87.7 kB / 0.5624 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.3266, allocations: 4 kB / 0.5624 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.804e-05/0.3266, allocations: 7.875 kB / 0.5624 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/0.3267, allocations: 27.72 kB / 0.5625 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.85e-05/0.3268, allocations: 31.95 kB / 0.5625 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.327, allocations: 103.6 kB / 0.5626 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.3271, allocations: 45.78 kB / 0.5626 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.3272, allocations: 39.86 kB / 0.5627 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.3273, allocations: 47.83 kB / 0.5627 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.3273, allocations: 19.94 kB / 0.5627 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.3273, allocations: 15.94 kB / 0.5627 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.3274, allocations: 19.98 kB / 0.5628 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.746e-05/0.3274, allocations: 51.73 kB / 0.5628 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.3276, allocations: 119.5 kB / 0.5629 GB, free: 2.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3276, allocations: 0 / 0.5629 GB, free: 2.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3276, allocations: 4 kB / 0.5629 GB, free: 2.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3276, allocations: 0 / 0.5629 GB, free: 2.09 MB / 398.1 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.0006449/0.3283, allocations: 345.9 kB / 0.5633 GB, free: 1.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3283, allocations: 12.03 kB / 0.5633 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.986e-05/0.3284, allocations: 38.73 kB / 0.5633 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.3284, allocations: 12.89 kB / 0.5633 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.3285, allocations: 126.3 kB / 0.5634 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3285, allocations: 4.375 kB / 0.5634 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.3286, allocations: 8.375 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.3289, allocations: 126.2 kB / 0.5636 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3289, allocations: 3.938 kB / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3289, allocations: 0 / 0.5636 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3289, allocations: 4 kB / 0.5636 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.3293, allocations: 107.6 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000895/0.3302, allocations: 458.3 kB / 0.5641 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.3305, allocations: 74.53 kB / 0.5642 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.3307, allocations: 60.94 kB / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3307, allocations: 4 kB / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3308, allocations: 34.5 kB / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3308, allocations: 0 / 0.5643 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008126/0.3316, allocations: 194.3 kB / 0.5645 GB, free: 368 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3316, allocations: 51.41 kB / 0.5645 GB, free: 304 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3317, allocations: 125.8 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.3318, allocations: 29.7 kB / 0.5647 GB, free: 132 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3319, allocations: 104.2 kB / 0.5648 GB, free: 20 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3319, allocations: 27.83 kB / 0.5648 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.3319, allocations: 21.72 kB / 0.5648 GB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3321, allocations: 318.8 kB / 0.5651 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.3322, allocations: 31.97 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.3324, allocations: 58.53 kB / 0.5652 GB, free: 15.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.3327, allocations: 106.4 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3327, allocations: 0 / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004279/0.3332, allocations: 146.4 kB / 0.5655 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.3332, allocations: 4 kB / 0.5655 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3332, allocations: 4 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.3333, allocations: 24.78 kB / 0.5655 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.3335, allocations: 19.97 kB / 0.5655 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.3347, allocations: 1.303 MB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3348, allocations: 15.95 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3348, allocations: 4 kB / 0.5668 GB, free: 13.78 MB / 414.1 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 0.000116/0.3349, allocations: 131.7 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.335, allocations: 7.891 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.335, allocations: 12.38 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.335, allocations: 0 / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.335, allocations: 0 / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.335, allocations: 3.938 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.3357, allocations: 395.2 kB / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3357, allocations: 0 / 0.5673 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.3358, allocations: 19.97 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.955e-05/0.3359, allocations: 24.78 kB / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3359, allocations: 4 kB / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3369, allocations: 1.295 MB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3369, allocations: 3.938 kB / 0.5686 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.3374, allocations: 237.2 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.3374, allocations: 11.95 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3375, allocations: 7.938 kB / 0.5689 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.3376, allocations: 15.98 kB / 0.5689 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.3376, allocations: 12.05 kB / 0.5689 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3376, allocations: 8 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.756e-05/0.3377, allocations: 99.2 kB / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3377, allocations: 0 / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.338, allocations: 31.89 kB / 0.569 GB, free: 11.28 MB / 414.1 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.0008182/0.3388, allocations: 0.757 MB / 0.5698 GB, free: 10.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005305/0.3394, allocations: 206.6 kB / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3394, allocations: 0 / 0.57 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.3396, allocations: 158.6 kB / 0.5701 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.34, allocations: 12.12 kB / 0.5701 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3424, allocations: 1.606 MB / 0.5717 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.3429, allocations: 0.7002 MB / 0.5724 GB, free: 7.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.154e-05/0.3429, allocations: 4.031 kB / 0.5724 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.343, allocations: 27.42 kB / 0.5724 GB, free: 7.633 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.343, allocations: 0 / 0.5724 GB, free: 7.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3746, allocations: 2.456 MB / 0.5748 GB, free: 5.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.47, allocations: 5.953 kB / 0.5748 GB, free: 5.309 MB / 414.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/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: 15.509723757997563]