Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001305/0.001305, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001469/0.001469, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2371/0.2371, allocations: 46.94 MB / 360.9 MB, free: 4.387 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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 71.89 kB / 0.4962 GB, free: 7.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3524, allocations: 66.04 MB / 0.5606 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007263/0.3597, allocations: 5.37 MB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003279/0.3629, allocations: 1.67 MB / 0.5675 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005828/0.3635, allocations: 20 kB / 0.5675 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00396/0.3675, allocations: 1.602 MB / 0.5691 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.3686, allocations: 317.6 kB / 0.5694 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.37, allocations: 0.5292 MB / 0.5699 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.3712, allocations: 0.8008 MB / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.3722, allocations: 0.6369 MB / 0.5713 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005185/0.3728, allocations: 354.7 kB / 0.5717 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006255/0.3734, allocations: 466.2 kB / 0.5721 GB, free: 8.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.3735, allocations: 76 kB / 0.5722 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.374, allocations: 195.9 kB / 0.5724 GB, free: 8.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.3741, allocations: 179.3 kB / 0.5725 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004056/0.3746, allocations: 421.9 kB / 0.5729 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.3762, allocations: 1.179 MB / 0.5741 GB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3762, allocations: 0 / 0.5741 GB, free: 6.664 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3762, allocations: 0 / 0.5741 GB, free: 6.664 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.3762, allocations: 0 / 0.5741 GB, free: 6.664 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.003746/0.38, allocations: 1.304 MB / 0.5754 GB, free: 5.328 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.38, allocations: 8.031 kB / 0.5754 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.3802, allocations: 148.4 kB / 0.5755 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.3818, allocations: 240.2 kB / 0.5758 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.3821, allocations: 207.7 kB / 0.5759 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.119e-05/0.3821, allocations: 74.38 kB / 0.576 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.3823, allocations: 103.9 kB / 0.5761 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3841, allocations: 0.936 MB / 0.577 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.3841, allocations: 3.953 kB / 0.577 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.189e-05/0.3842, allocations: 40 kB / 0.5771 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.3843, allocations: 24 kB / 0.5771 GB, free: 3.512 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.3856, allocations: 0.7301 MB / 0.5778 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.3914, allocations: 3.688 MB / 0.5814 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.3931, allocations: 0.7772 MB / 0.5822 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/0.3935, allocations: 260.4 kB / 0.5824 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.3936, allocations: 28.28 kB / 0.5824 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.3936, allocations: 46.89 kB / 0.5825 GB, free: 13.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.425e-06/0.3937, allocations: 0 / 0.5825 GB, free: 13.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002745/0.3964, allocations: 1.011 MB / 0.5835 GB, free: 12.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/0.3965, allocations: 140.5 kB / 0.5836 GB, free: 12.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.3969, allocations: 320.1 kB / 0.5839 GB, free: 12.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.397, allocations: 33.7 kB / 0.5839 GB, free: 12.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.3972, allocations: 415.8 kB / 0.5843 GB, free: 11.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.3974, allocations: 238 kB / 0.5846 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.3977, allocations: 150.6 kB / 0.5847 GB, free: 11.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3979, allocations: 350.7 kB / 0.5851 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.3982, allocations: 201.9 kB / 0.5852 GB, free: 10.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.3988, allocations: 396.6 kB / 0.5856 GB, free: 10.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009505/0.3997, allocations: 0.622 MB / 0.5862 GB, free: 9.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3997, allocations: 4 kB / 0.5862 GB, free: 9.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001636/0.4014, allocations: 0.8816 MB / 0.5871 GB, free: 8.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.4014, allocations: 10.81 kB / 0.5871 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4014, allocations: 4 kB / 0.5871 GB, free: 8.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006736/0.4021, allocations: 223.3 kB / 0.5873 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005154/0.4026, allocations: 139.8 kB / 0.5875 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006686/0.4093, allocations: 6.296 MB / 0.5936 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.4099, allocations: 91.41 kB / 0.5937 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.4099, allocations: 35.98 kB / 0.5937 GB, free: 1.418 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.0003582/0.4103, allocations: 229.5 kB / 0.5939 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.4104, allocations: 43.72 kB / 0.594 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.4119, allocations: 0.6939 MB / 0.5947 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.4119, allocations: 8 kB / 0.5947 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4119, allocations: 7.984 kB / 0.5947 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4119, allocations: 3.984 kB / 0.5947 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.4148, allocations: 1.526 MB / 0.5962 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.4148, allocations: 0 / 0.5962 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002723/0.4151, allocations: 71.91 kB / 0.5962 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000571/0.4157, allocations: 215.2 kB / 0.5964 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.4157, allocations: 12 kB / 0.5965 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/0.4224, allocations: 6.296 MB / 0.6026 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4224, allocations: 0 / 0.6026 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.4242, allocations: 1.195 MB / 0.6038 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.4243, allocations: 47.67 kB / 0.6038 GB, free: 6.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.4244, allocations: 15.98 kB / 0.6038 GB, free: 6.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.4248, allocations: 12 kB / 0.6038 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.4249, allocations: 67.7 kB / 0.6039 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.4249, allocations: 16 kB / 0.6039 GB, free: 6.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002843/0.4252, allocations: 219.1 kB / 0.6041 GB, free: 6.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4252, allocations: 384 / 0.6041 GB, free: 6.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001153/0.4264, allocations: 279.3 kB / 0.6044 GB, free: 5.895 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.002366/0.4287, allocations: 1.775 MB / 0.6061 GB, free: 4.078 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.4306, allocations: 1.042 MB / 0.6072 GB, free: 2.984 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4307, allocations: 0 / 0.6072 GB, free: 2.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.4317, allocations: 0.76 MB / 0.6079 GB, free: 2.172 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/0.4325, allocations: 44.59 kB / 0.6079 GB, free: 2.129 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008231/0.4407, allocations: 5.136 MB / 0.613 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007215/0.4414, allocations: 0.9188 MB / 0.6138 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.4417, allocations: 68.53 kB / 0.6139 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.442, allocations: 231.4 kB / 0.6141 GB, free: 11.47 MB / 462.1 MB Notification: Performance of SimCode: time 1.119e-05/0.442, allocations: 0 / 0.6141 GB, free: 11.47 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05624/0.4983, allocations: 12.53 MB / 0.6264 GB, free: 15.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.51, allocations: 10.86 kB / 0.6264 GB, free: 15.09 MB / 478.1 MB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv. Warning: Get data of variable quarterHollowSphere.port_p.reference.gamma from file ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.49638642300124]