Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001584/0.001584, allocations: 113.2 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.001562/0.001562, allocations: 212 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2269/0.2269, allocations: 44.91 MB / 358.8 MB, free: 6.293 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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",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.002024/0.002024, allocations: 71.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 65.47 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007505/0.3298, allocations: 5.368 MB / 0.5623 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003673/0.3335, allocations: 1.674 MB / 0.5639 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.3339, allocations: 20 kB / 0.5639 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003808/0.3377, allocations: 1.606 MB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.339, allocations: 313.6 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.3404, allocations: 0.518 MB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.3416, allocations: 0.8124 MB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.3427, allocations: 0.633 MB / 0.5677 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005607/0.3433, allocations: 350.7 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/0.3439, allocations: 462.2 kB / 0.5685 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.3441, allocations: 80 kB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005311/0.3446, allocations: 203.8 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.3448, allocations: 175.3 kB / 0.5689 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.3452, allocations: 425.9 kB / 0.5693 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.3467, allocations: 1.179 MB / 0.5705 GB, free: 9.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3467, allocations: 3.984 kB / 0.5705 GB, free: 9.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3467, allocations: 0 / 0.5705 GB, free: 9.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.3467, allocations: 0 / 0.5705 GB, free: 9.938 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003397/0.3501, allocations: 1.3 MB / 0.5718 GB, free: 8.605 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.3501, allocations: 8.031 kB / 0.5718 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/0.3503, allocations: 148.4 kB / 0.5719 GB, free: 8.445 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.3519, allocations: 232.2 kB / 0.5721 GB, free: 8.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.3522, allocations: 203.7 kB / 0.5723 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.499e-05/0.3523, allocations: 78.38 kB / 0.5724 GB, free: 7.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.3525, allocations: 103.9 kB / 0.5725 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.3541, allocations: 0.9321 MB / 0.5734 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.869e-05/0.3542, allocations: 11.94 kB / 0.5734 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.3542, allocations: 40 kB / 0.5734 GB, free: 6.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.3543, allocations: 24 kB / 0.5735 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.3556, allocations: 0.7301 MB / 0.5742 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005476/0.3611, allocations: 3.684 MB / 0.5778 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3628, allocations: 0.7762 MB / 0.5785 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.3632, allocations: 259.3 kB / 0.5788 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.3633, allocations: 32.23 kB / 0.5788 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.3633, allocations: 50.83 kB / 0.5789 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.414e-06/0.3633, allocations: 0 / 0.5789 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.00282/0.3662, allocations: 1.015 MB / 0.5799 GB, free: 15.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/0.3663, allocations: 136.5 kB / 0.58 GB, free: 15.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.3667, allocations: 312.1 kB / 0.5803 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.3667, allocations: 37.7 kB / 0.5803 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.367, allocations: 415.8 kB / 0.5807 GB, free: 14.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.3672, allocations: 238 kB / 0.5809 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.3675, allocations: 150.6 kB / 0.5811 GB, free: 14.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3676, allocations: 354.7 kB / 0.5814 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.368, allocations: 201.8 kB / 0.5816 GB, free: 14.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.3685, allocations: 400.6 kB / 0.582 GB, free: 13.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009684/0.3695, allocations: 0.622 MB / 0.5826 GB, free: 12.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3695, allocations: 4 kB / 0.5826 GB, free: 12.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001671/0.3712, allocations: 0.87 MB / 0.5835 GB, free: 11.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3712, allocations: 12 kB / 0.5835 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.3712, allocations: 8 kB / 0.5835 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006738/0.3719, allocations: 227.2 kB / 0.5837 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005021/0.3724, allocations: 139.8 kB / 0.5838 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/0.3789, allocations: 6.295 MB / 0.59 GB, free: 4.816 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.3794, allocations: 91.45 kB / 0.5901 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/0.3794, allocations: 28.47 kB / 0.5901 GB, free: 4.699 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003543/0.3798, allocations: 229.5 kB / 0.5903 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.3799, allocations: 43.72 kB / 0.5904 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.3813, allocations: 0.6989 MB / 0.591 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3813, allocations: 8 kB / 0.591 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3813, allocations: 4 kB / 0.591 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.3813, allocations: 3.984 kB / 0.5911 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.3839, allocations: 1.529 MB / 0.5925 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3839, allocations: 4 kB / 0.5925 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.3842, allocations: 67.91 kB / 0.5926 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000583/0.3847, allocations: 223.2 kB / 0.5928 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.3848, allocations: 15.98 kB / 0.5928 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006274/0.3911, allocations: 6.292 MB / 0.599 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3911, allocations: 0 / 0.599 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.3928, allocations: 1.194 MB / 0.6002 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.393, allocations: 51.78 kB / 0.6002 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.393, allocations: 16 kB / 0.6002 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.3934, allocations: 12 kB / 0.6002 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3935, allocations: 63.77 kB / 0.6003 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.3935, allocations: 16 kB / 0.6003 GB, free: 9.652 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002912/0.3938, allocations: 215.1 kB / 0.6005 GB, free: 9.441 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3938, allocations: 4 kB / 0.6005 GB, free: 9.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001027/0.3948, allocations: 279.3 kB / 0.6008 GB, free: 9.164 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002194/0.397, allocations: 1.769 MB / 0.6025 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.3987, allocations: 1.049 MB / 0.6035 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3987, allocations: 0 / 0.6035 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009834/0.3997, allocations: 0.7562 MB / 0.6043 GB, free: 5.445 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/0.4004, allocations: 46.81 kB / 0.6043 GB, free: 5.402 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007771/0.4082, allocations: 5.126 MB / 0.6093 GB, free: 15.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.4089, allocations: 0.9149 MB / 0.6102 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.4092, allocations: 68.53 kB / 0.6103 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.4095, allocations: 227.4 kB / 0.6105 GB, free: 14.76 MB / 462.1 MB Notification: Performance of SimCode: time 1.913e-06/0.4095, allocations: 0 / 0.6105 GB, free: 14.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05285/0.4623, allocations: 12.55 MB / 0.6227 GB, free: 2.371 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.88, allocations: 11.92 kB / 0.6228 GB, free: 2.363 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable quarterHollowSphere.port_p.reference.gamma in file ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv. Warning: Get data of variable quarterHollowSphere.port_p.reference.gamma from file ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.838203360995976]