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.001856/0.001856, allocations: 113 kB / 18.49 MB, free: 4.539 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.002204/0.002204, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.503/1.503, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2361/0.2361, allocations: 46.92 MB / 357.8 MB, free: 10.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.89 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1299, allocations: 65.99 MB / 0.5561 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007428/0.1374, allocations: 5.363 MB / 0.5613 GB, free: 444 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.1407, allocations: 1.65 MB / 0.5629 GB, free: 14.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000642/0.1413, allocations: 20 kB / 0.5629 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003932/0.1453, allocations: 1.61 MB / 0.5645 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.1467, allocations: 313.6 kB / 0.5648 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.1483, allocations: 0.5254 MB / 0.5653 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001496/0.1498, allocations: 0.8084 MB / 0.5661 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.151, allocations: 0.5572 MB / 0.5666 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006558/0.1516, allocations: 350.7 kB / 0.567 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007417/0.1524, allocations: 458.2 kB / 0.5674 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.1526, allocations: 76 kB / 0.5675 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009758/0.1536, allocations: 203.9 kB / 0.5677 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.1538, allocations: 179.3 kB / 0.5678 GB, free: 9.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006516/0.1544, allocations: 418 kB / 0.5682 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.1564, allocations: 1.175 MB / 0.5694 GB, free: 8.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1564, allocations: 4 kB / 0.5694 GB, free: 8.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1564, allocations: 0 / 0.5694 GB, free: 8.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.148e-05/0.1564, allocations: 0 / 0.5694 GB, free: 8.082 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.00374/0.1602, allocations: 1.38 MB / 0.5707 GB, free: 6.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1602, allocations: 8.031 kB / 0.5708 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.49e-05/0.1603, allocations: 26.19 kB / 0.5708 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.1604, allocations: 152.4 kB / 0.5709 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.1621, allocations: 232.2 kB / 0.5711 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.1624, allocations: 260.8 kB / 0.5714 GB, free: 5.941 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.1625, allocations: 78.12 kB / 0.5715 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.1627, allocations: 96 kB / 0.5716 GB, free: 5.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.1645, allocations: 0.9399 MB / 0.5725 GB, free: 4.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.1645, allocations: 3.953 kB / 0.5725 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.448e-05/0.1646, allocations: 44 kB / 0.5725 GB, free: 4.766 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.1646, allocations: 24 kB / 0.5725 GB, free: 4.742 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.166, allocations: 0.7222 MB / 0.5733 GB, free: 4.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00603/0.172, allocations: 4.096 MB / 0.5773 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.1752, allocations: 3.318 MB / 0.5805 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.1756, allocations: 269.2 kB / 0.5807 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.1758, allocations: 182.5 kB / 0.5809 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.1759, allocations: 46.72 kB / 0.581 GB, free: 11.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.395e-06/0.1759, allocations: 0 / 0.581 GB, free: 11.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.002967/0.1788, allocations: 1.323 MB / 0.5823 GB, free: 9.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.1789, allocations: 144.5 kB / 0.5824 GB, free: 9.465 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.1794, allocations: 310.8 kB / 0.5827 GB, free: 9.152 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.1794, allocations: 37.7 kB / 0.5827 GB, free: 9.109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.1797, allocations: 411.8 kB / 0.5831 GB, free: 8.699 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.1799, allocations: 249.8 kB / 0.5834 GB, free: 8.453 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.1802, allocations: 146.6 kB / 0.5835 GB, free: 8.305 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1803, allocations: 362.7 kB / 0.5838 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.1807, allocations: 197.9 kB / 0.584 GB, free: 7.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.1812, allocations: 398.8 kB / 0.5844 GB, free: 7.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000908/0.1821, allocations: 0.6181 MB / 0.585 GB, free: 6.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.1821, allocations: 4 kB / 0.585 GB, free: 6.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001595/0.1837, allocations: 0.8773 MB / 0.5859 GB, free: 5.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.1838, allocations: 8 kB / 0.5859 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.1838, allocations: 8.5 kB / 0.5859 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006991/0.1845, allocations: 223.2 kB / 0.5861 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.185, allocations: 143.8 kB / 0.5862 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2773/0.4623, allocations: 6.701 MB / 0.5928 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/0.4629, allocations: 85.25 kB / 0.5929 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.4629, allocations: 36.25 kB / 0.5929 GB, free: 32.34 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.0003473/0.4633, allocations: 229.3 kB / 0.5931 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.4634, allocations: 41.64 kB / 0.5932 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.4647, allocations: 0.682 MB / 0.5938 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4647, allocations: 14.09 kB / 0.5938 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.4647, allocations: 9.766 kB / 0.5939 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.4647, allocations: 3.531 kB / 0.5939 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.4674, allocations: 1.559 MB / 0.5954 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.4674, allocations: 1.375 kB / 0.5954 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.4677, allocations: 70.45 kB / 0.5954 GB, free: 31.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005748/0.4682, allocations: 221.9 kB / 0.5957 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.4683, allocations: 14.97 kB / 0.5957 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004963/0.4732, allocations: 6.7 MB / 0.6022 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.4732, allocations: 4.094 kB / 0.6022 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.4751, allocations: 1.183 MB / 0.6034 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.4753, allocations: 131.8 kB / 0.6035 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.4753, allocations: 15.41 kB / 0.6035 GB, free: 25.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.4757, allocations: 14.09 kB / 0.6035 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.4758, allocations: 54.78 kB / 0.6036 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.4759, allocations: 19.42 kB / 0.6036 GB, free: 25.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000278/0.4761, allocations: 210.7 kB / 0.6038 GB, free: 25.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4761, allocations: 0 / 0.6038 GB, free: 25.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001142/0.4773, allocations: 285.2 kB / 0.6041 GB, free: 24.95 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.001898/0.4792, allocations: 1.767 MB / 0.6058 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.481, allocations: 1.048 MB / 0.6068 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.481, allocations: 5.109 kB / 0.6068 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009835/0.482, allocations: 0.7538 MB / 0.6076 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.4828, allocations: 49.8 kB / 0.6076 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007492/0.4903, allocations: 5.124 MB / 0.6126 GB, free: 19.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/0.4908, allocations: 0.9143 MB / 0.6135 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.4911, allocations: 67.17 kB / 0.6136 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.4913, allocations: 234.3 kB / 0.6138 GB, free: 18.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4913, allocations: 1.781 kB / 0.6138 GB, free: 18.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04441/0.5357, allocations: 12 MB / 0.6255 GB, free: 14.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.7, allocations: 7.969 kB / 0.6255 GB, free: 14.8 MB / 446.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.829969929996878]