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.001762/0.001762, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002335/0.002335, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.612/1.612, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.2455/0.2455, allocations: 44.94 MB / 358.8 MB, free: 6.074 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003443/0.003443, allocations: 63.91 kB / 0.493 GB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4409, allocations: 65.47 MB / 0.5569 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003344/0.4443, allocations: 1.694 MB / 0.5586 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001869/0.4445, allocations: 79.73 kB / 0.5587 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.4445, allocations: 8 kB / 0.5587 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.213e-05/0.4446, allocations: 15.8 kB / 0.5587 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.296e-05/0.4447, allocations: 27.77 kB / 0.5587 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.4448, allocations: 19.97 kB / 0.5587 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.4449, allocations: 111.6 kB / 0.5589 GB, free: 5.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.4451, allocations: 45.72 kB / 0.5589 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.549e-05/0.4452, allocations: 43.86 kB / 0.5589 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.4453, allocations: 47.75 kB / 0.559 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.4453, allocations: 12 kB / 0.559 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.307e-05/0.4453, allocations: 16 kB / 0.559 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.4453, allocations: 19.92 kB / 0.559 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.993e-05/0.4454, allocations: 43.8 kB / 0.5591 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.4456, allocations: 115.6 kB / 0.5592 GB, free: 5.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.4456, allocations: 0 / 0.5592 GB, free: 5.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4456, allocations: 0 / 0.5592 GB, free: 5.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.4456, allocations: 0 / 0.5592 GB, free: 5.273 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.0006578/0.4463, allocations: 347.9 kB / 0.5595 GB, free: 4.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4463, allocations: 16.03 kB / 0.5595 GB, free: 4.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.4463, allocations: 46.69 kB / 0.5596 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.4464, allocations: 8.891 kB / 0.5596 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4465, allocations: 122.4 kB / 0.5597 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.4465, allocations: 8.375 kB / 0.5597 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.4465, allocations: 8.375 kB / 0.5597 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.4469, allocations: 119.8 kB / 0.5598 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4469, allocations: 3.938 kB / 0.5598 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4469, allocations: 8 kB / 0.5598 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4469, allocations: 8 kB / 0.5598 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.4472, allocations: 103.8 kB / 0.5599 GB, free: 4.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007541/0.448, allocations: 426.5 kB / 0.5604 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.4483, allocations: 78.53 kB / 0.5604 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.4485, allocations: 64.92 kB / 0.5605 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.4485, allocations: 0 / 0.5605 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.4486, allocations: 38.5 kB / 0.5605 GB, free: 3.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.4486, allocations: 0 / 0.5605 GB, free: 3.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007994/0.4494, allocations: 190.3 kB / 0.5607 GB, free: 3.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.4494, allocations: 51.41 kB / 0.5608 GB, free: 3.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.4495, allocations: 121.8 kB / 0.5609 GB, free: 3.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.4495, allocations: 25.7 kB / 0.5609 GB, free: 3.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.4496, allocations: 108.2 kB / 0.561 GB, free: 3.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.4496, allocations: 23.8 kB / 0.561 GB, free: 3.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.4497, allocations: 21.72 kB / 0.561 GB, free: 3.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4498, allocations: 322.8 kB / 0.5614 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.4499, allocations: 35.91 kB / 0.5614 GB, free: 2.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.4501, allocations: 62.47 kB / 0.5614 GB, free: 2.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.4504, allocations: 102.4 kB / 0.5615 GB, free: 2.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4504, allocations: 0 / 0.5615 GB, free: 2.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004217/0.4509, allocations: 146.3 kB / 0.5617 GB, free: 2.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4509, allocations: 4 kB / 0.5617 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4509, allocations: 4.062 kB / 0.5617 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.451, allocations: 20.84 kB / 0.5617 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4512, allocations: 23.97 kB / 0.5617 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.4523, allocations: 1.299 MB / 0.563 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.4524, allocations: 19.95 kB / 0.563 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4524, allocations: 4 kB / 0.563 GB, free: 0.9805 MB / 398.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.0001066/0.4525, allocations: 117.9 kB / 0.5631 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.4526, allocations: 11.89 kB / 0.5631 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.4526, allocations: 12.5 kB / 0.5632 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4526, allocations: 7.984 kB / 0.5632 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4526, allocations: 0 / 0.5632 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4526, allocations: 0 / 0.5632 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.4533, allocations: 387.2 kB / 0.5635 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4533, allocations: 0 / 0.5635 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-05/0.4534, allocations: 19.97 kB / 0.5636 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.948e-05/0.4535, allocations: 20.8 kB / 0.5636 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4535, allocations: 3.984 kB / 0.5636 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.4546, allocations: 1.291 MB / 0.5648 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4546, allocations: 4.031 kB / 0.5648 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.455, allocations: 237.2 kB / 0.5651 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.455, allocations: 11.95 kB / 0.5651 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.455, allocations: 128 / 0.5651 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4552, allocations: 23.97 kB / 0.5651 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.4552, allocations: 11.92 kB / 0.5651 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.4552, allocations: 0 / 0.5651 GB, free: 14.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.193e-05/0.4553, allocations: 107.6 kB / 0.5652 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4553, allocations: 4 kB / 0.5652 GB, free: 14.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.4556, allocations: 27.89 kB / 0.5652 GB, free: 14.5 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.0007538/0.4563, allocations: 0.7572 MB / 0.566 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005271/0.4568, allocations: 202.6 kB / 0.5662 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4568, allocations: 0 / 0.5662 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.4571, allocations: 162.6 kB / 0.5663 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.4574, allocations: 22.52 kB / 0.5664 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.4597, allocations: 1.606 MB / 0.5679 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.749e-05/0.4598, allocations: 81.27 kB / 0.568 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.4598, allocations: 11.73 kB / 0.568 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.4599, allocations: 19.44 kB / 0.568 GB, free: 11.47 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4599, allocations: 4 kB / 0.568 GB, free: 11.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.4903, allocations: 2.934 MB / 0.5709 GB, free: 8.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.17, allocations: 3.688 kB / 0.5709 GB, free: 8.672 MB / 414.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/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: 15.467571259941906]