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.001601/0.001601, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001922/0.001922, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2234/0.2234, allocations: 44.93 MB / 358.8 MB, free: 6.02 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.00297/0.00297, allocations: 67.91 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3554, allocations: 65.47 MB / 0.557 GB, free: 7.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007165/0.3626, allocations: 4.766 MB / 0.5616 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.3662, allocations: 1.577 MB / 0.5632 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004712/0.3667, allocations: 16 kB / 0.5632 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003705/0.3704, allocations: 1.47 MB / 0.5646 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.3715, allocations: 313.6 kB / 0.5649 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3728, allocations: 0.5097 MB / 0.5654 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.3739, allocations: 0.8084 MB / 0.5662 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.375, allocations: 0.6213 MB / 0.5668 GB, free: 13.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.3756, allocations: 354.7 kB / 0.5671 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.3762, allocations: 402.2 kB / 0.5675 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.3763, allocations: 76 kB / 0.5676 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.3769, allocations: 195.9 kB / 0.5678 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.377, allocations: 179.3 kB / 0.568 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.3774, allocations: 334.5 kB / 0.5683 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.3788, allocations: 1.191 MB / 0.5694 GB, free: 10.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3788, allocations: 0 / 0.5694 GB, free: 10.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3788, allocations: 0 / 0.5694 GB, free: 10.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.449e-05/0.3788, allocations: 0 / 0.5694 GB, free: 10.66 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.003479/0.3823, allocations: 1.3 MB / 0.5707 GB, free: 9.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.3824, allocations: 8.031 kB / 0.5707 GB, free: 9.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001963/0.3826, allocations: 152.4 kB / 0.5709 GB, free: 9.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.3841, allocations: 232.2 kB / 0.5711 GB, free: 8.941 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.3844, allocations: 201.2 kB / 0.5713 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.274e-05/0.3845, allocations: 74.38 kB / 0.5713 GB, free: 8.648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.3847, allocations: 103.9 kB / 0.5714 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.3862, allocations: 0.936 MB / 0.5724 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.3863, allocations: 11.94 kB / 0.5724 GB, free: 7.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/0.3863, allocations: 40 kB / 0.5724 GB, free: 7.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.3864, allocations: 24 kB / 0.5724 GB, free: 7.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.3876, allocations: 0.7144 MB / 0.5731 GB, free: 6.805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005121/0.3928, allocations: 2.852 MB / 0.5759 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.3944, allocations: 0.7674 MB / 0.5767 GB, free: 3.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.3948, allocations: 252.5 kB / 0.5769 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.3949, allocations: 32.23 kB / 0.5769 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.395, allocations: 42.89 kB / 0.577 GB, free: 2.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.866e-06/0.395, allocations: 0 / 0.577 GB, free: 2.688 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002736/0.3977, allocations: 1.019 MB / 0.578 GB, free: 1.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.3978, allocations: 136.5 kB / 0.5781 GB, free: 1.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.3982, allocations: 328 kB / 0.5784 GB, free: 1.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.3983, allocations: 37.7 kB / 0.5784 GB, free: 1.117 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.3986, allocations: 415.8 kB / 0.5788 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.3988, allocations: 241.9 kB / 0.5791 GB, free: 476 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.399, allocations: 146.6 kB / 0.5792 GB, free: 324 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3992, allocations: 350.7 kB / 0.5795 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.3995, allocations: 201.9 kB / 0.5797 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/0.4, allocations: 400.6 kB / 0.5801 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009101/0.4009, allocations: 0.6181 MB / 0.5807 GB, free: 14.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4009, allocations: 4 kB / 0.5807 GB, free: 14.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001558/0.4025, allocations: 0.8773 MB / 0.5816 GB, free: 13.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.4025, allocations: 11.98 kB / 0.5816 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.4025, allocations: 8 kB / 0.5816 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006607/0.4032, allocations: 219.8 kB / 0.5818 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.4037, allocations: 143.7 kB / 0.582 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/0.41, allocations: 6.252 MB / 0.5881 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.4106, allocations: 91.88 kB / 0.5881 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.4107, allocations: 40 kB / 0.5882 GB, free: 6.461 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.000339/0.411, allocations: 221.6 kB / 0.5884 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.4111, allocations: 51.66 kB / 0.5884 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.4124, allocations: 0.6834 MB / 0.5891 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4124, allocations: 4 kB / 0.5891 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4125, allocations: 8 kB / 0.5891 GB, free: 5.469 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.4125, allocations: 3.984 kB / 0.5891 GB, free: 5.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.415, allocations: 1.466 MB / 0.5906 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.415, allocations: 0 / 0.5906 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.4153, allocations: 71.91 kB / 0.5906 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005295/0.4158, allocations: 211.2 kB / 0.5908 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/0.4159, allocations: 12 kB / 0.5908 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006119/0.422, allocations: 6.246 MB / 0.5969 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.422, allocations: 0 / 0.5969 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.4237, allocations: 1.191 MB / 0.5981 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.4238, allocations: 55.55 kB / 0.5982 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.4239, allocations: 12 kB / 0.5982 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.4242, allocations: 16 kB / 0.5982 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.4243, allocations: 67.7 kB / 0.5982 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4244, allocations: 19.98 kB / 0.5983 GB, free: 11.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.4246, allocations: 211.1 kB / 0.5985 GB, free: 11.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4246, allocations: 0 / 0.5985 GB, free: 11.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001029/0.4256, allocations: 279.4 kB / 0.5987 GB, free: 11.07 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.002152/0.4278, allocations: 1.781 MB / 0.6005 GB, free: 9.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.4296, allocations: 1.041 MB / 0.6015 GB, free: 8.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4296, allocations: 4 kB / 0.6015 GB, free: 8.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009581/0.4305, allocations: 0.7605 MB / 0.6022 GB, free: 7.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.4312, allocations: 48.58 kB / 0.6023 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007511/0.4387, allocations: 5.122 MB / 0.6073 GB, free: 1.887 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.4392, allocations: 318.5 kB / 0.6076 GB, free: 1.551 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002838/0.4395, allocations: 64.53 kB / 0.6076 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.4398, allocations: 235.3 kB / 0.6079 GB, free: 1.258 MB / 446.1 MB Notification: Performance of SimCode: time 1.884e-06/0.4398, allocations: 0 / 0.6079 GB, free: 1.258 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06094/0.5008, allocations: 12.76 MB / 0.6203 GB, free: 4.695 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.57, allocations: 7.297 kB / 0.6203 GB, free: 4.691 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.646319441962987]