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.001674/0.001674, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.00198/0.00198, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.566/1.566, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2578/0.2578, allocations: 46.93 MB / 357.1 MB, free: 10.31 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.001999/0.001999, allocations: 63.91 kB / 0.4909 GB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1324, allocations: 66 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007093/0.1394, allocations: 5.35 MB / 0.5606 GB, free: 476 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003185/0.1426, allocations: 1.654 MB / 0.5622 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/0.1429, allocations: 16 kB / 0.5622 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003567/0.1465, allocations: 1.602 MB / 0.5638 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008646/0.1474, allocations: 317.6 kB / 0.5641 GB, free: 12.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1485, allocations: 0.5295 MB / 0.5646 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009735/0.1495, allocations: 0.8007 MB / 0.5654 GB, free: 11.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009233/0.1504, allocations: 0.565 MB / 0.5659 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.1509, allocations: 346.7 kB / 0.5663 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.1514, allocations: 458.2 kB / 0.5667 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.1515, allocations: 76 kB / 0.5668 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.152, allocations: 207.9 kB / 0.567 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1521, allocations: 179.3 kB / 0.5672 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.1525, allocations: 418 kB / 0.5676 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.1539, allocations: 1.175 MB / 0.5687 GB, free: 8.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1539, allocations: 0 / 0.5687 GB, free: 8.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1539, allocations: 4 kB / 0.5687 GB, free: 8.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.154, allocations: 3.938 kB / 0.5687 GB, free: 8.109 MB / 430.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.003874/0.1578, allocations: 1.376 MB / 0.5701 GB, free: 6.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.1579, allocations: 8.031 kB / 0.5701 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/0.1581, allocations: 152.4 kB / 0.5702 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.1598, allocations: 236.2 kB / 0.5704 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.1601, allocations: 255.8 kB / 0.5707 GB, free: 6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-05/0.1602, allocations: 82.36 kB / 0.5708 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.1604, allocations: 99.94 kB / 0.5709 GB, free: 5.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.1621, allocations: 0.936 MB / 0.5718 GB, free: 4.867 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.1622, allocations: 7.953 kB / 0.5718 GB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.919e-05/0.1622, allocations: 40 kB / 0.5718 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.1623, allocations: 24 kB / 0.5718 GB, free: 4.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.1636, allocations: 0.7262 MB / 0.5725 GB, free: 4.074 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005757/0.1694, allocations: 4.088 MB / 0.5765 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.1724, allocations: 3.323 MB / 0.5798 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.1729, allocations: 267.3 kB / 0.58 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.1731, allocations: 178.5 kB / 0.5802 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.1731, allocations: 46.81 kB / 0.5803 GB, free: 11.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.815e-06/0.1731, allocations: 4 kB / 0.5803 GB, free: 11.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.002952/0.176, allocations: 1.334 MB / 0.5816 GB, free: 9.684 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/0.1761, allocations: 140.4 kB / 0.5817 GB, free: 9.516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.1766, allocations: 314.9 kB / 0.582 GB, free: 9.199 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.1766, allocations: 33.7 kB / 0.582 GB, free: 9.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.1769, allocations: 411.8 kB / 0.5824 GB, free: 8.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.1771, allocations: 249.9 kB / 0.5827 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.1773, allocations: 146.6 kB / 0.5828 GB, free: 8.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1775, allocations: 358.7 kB / 0.5831 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.1779, allocations: 193.9 kB / 0.5833 GB, free: 7.809 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.1784, allocations: 402.8 kB / 0.5837 GB, free: 7.336 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009281/0.1793, allocations: 0.6181 MB / 0.5843 GB, free: 6.637 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1793, allocations: 4 kB / 0.5843 GB, free: 6.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001624/0.181, allocations: 0.8777 MB / 0.5852 GB, free: 5.734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.181, allocations: 12.06 kB / 0.5852 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.181, allocations: 4 kB / 0.5852 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00071/0.1817, allocations: 227.2 kB / 0.5854 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.1822, allocations: 143.8 kB / 0.5855 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2815/0.4637, allocations: 6.694 MB / 0.5921 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/0.4643, allocations: 88.98 kB / 0.5922 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.4643, allocations: 35.7 kB / 0.5922 GB, free: 32.77 MB / 446.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.0003139/0.4646, allocations: 221.7 kB / 0.5924 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.4648, allocations: 49.84 kB / 0.5925 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.4661, allocations: 0.6777 MB / 0.5931 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.4661, allocations: 11.89 kB / 0.5931 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.4661, allocations: 5.375 kB / 0.5931 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.4661, allocations: 3.891 kB / 0.5931 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.4685, allocations: 1.564 MB / 0.5947 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4685, allocations: 1.906 kB / 0.5947 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.4687, allocations: 67.59 kB / 0.5947 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006437/0.4694, allocations: 219.8 kB / 0.5949 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.4694, allocations: 13.25 kB / 0.595 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004545/0.474, allocations: 6.705 MB / 0.6015 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.474, allocations: 1.375 kB / 0.6015 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.4757, allocations: 1.181 MB / 0.6027 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.4758, allocations: 131.4 kB / 0.6028 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.219e-05/0.4759, allocations: 20.12 kB / 0.6028 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.4762, allocations: 13.7 kB / 0.6028 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.4764, allocations: 56.48 kB / 0.6029 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.4764, allocations: 18.11 kB / 0.6029 GB, free: 25.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.4767, allocations: 214.3 kB / 0.6031 GB, free: 25.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4767, allocations: 0 / 0.6031 GB, free: 25.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001295/0.478, allocations: 285.4 kB / 0.6034 GB, free: 25.36 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.002045/0.4801, allocations: 1.766 MB / 0.6051 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.4818, allocations: 1.05 MB / 0.6061 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4818, allocations: 0.7812 kB / 0.6061 GB, free: 23.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009513/0.4828, allocations: 0.7577 MB / 0.6068 GB, free: 22.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.4836, allocations: 40.53 kB / 0.6069 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007904/0.4915, allocations: 5.128 MB / 0.6119 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007164/0.4922, allocations: 0.9191 MB / 0.6128 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002596/0.4925, allocations: 61.77 kB / 0.6129 GB, free: 18.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.4927, allocations: 234.9 kB / 0.6131 GB, free: 18.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4927, allocations: 0 / 0.6131 GB, free: 18.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04931/0.5421, allocations: 11.96 MB / 0.6248 GB, free: 15.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.24, allocations: 3.375 kB / 0.6248 GB, free: 15.19 MB / 446.1 MB " [Timeout remaining time 649] (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: 14.426023498992436]