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.001731/0.001731, 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.002054/0.002054, 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.586/1.586, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.225/0.225, allocations: 44.9 MB / 355.8 MB, free: 12.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage",fmuType="cs",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.002101/0.002101, allocations: 64.08 kB / 0.4885 GB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1353, allocations: 65.43 MB / 0.5524 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007892/0.1432, allocations: 5.361 MB / 0.5577 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003455/0.1467, allocations: 1.666 MB / 0.5593 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006118/0.1473, allocations: 20 kB / 0.5593 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.1511, allocations: 1.594 MB / 0.5609 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.1523, allocations: 321.6 kB / 0.5612 GB, free: 1.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1536, allocations: 0.518 MB / 0.5617 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.1549, allocations: 0.8007 MB / 0.5625 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.1561, allocations: 0.573 MB / 0.563 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000649/0.1567, allocations: 342.8 kB / 0.5634 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007801/0.1575, allocations: 466.1 kB / 0.5638 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.1577, allocations: 76 kB / 0.5639 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005995/0.1583, allocations: 203.8 kB / 0.5641 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.1585, allocations: 171.4 kB / 0.5642 GB, free: 13.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006066/0.1591, allocations: 429.9 kB / 0.5646 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.1609, allocations: 1.167 MB / 0.5658 GB, free: 12.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1609, allocations: 4 kB / 0.5658 GB, free: 12.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1609, allocations: 0 / 0.5658 GB, free: 12.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.716e-05/0.1609, allocations: 0 / 0.5658 GB, free: 12.38 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.00459/0.1655, allocations: 1.38 MB / 0.5671 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.1656, allocations: 11.97 kB / 0.5671 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.559e-05/0.1656, allocations: 26.19 kB / 0.5672 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000287/0.1659, allocations: 156.4 kB / 0.5673 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/0.1676, allocations: 232.2 kB / 0.5675 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.168, allocations: 265.2 kB / 0.5678 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-05/0.1681, allocations: 74.12 kB / 0.5679 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.1683, allocations: 100 kB / 0.568 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.17, allocations: 0.9321 MB / 0.5689 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.1701, allocations: 11.89 kB / 0.5689 GB, free: 9.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/0.1702, allocations: 40 kB / 0.5689 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.1702, allocations: 24 kB / 0.5689 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.1716, allocations: 0.7184 MB / 0.5696 GB, free: 8.312 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005913/0.1775, allocations: 4.092 MB / 0.5736 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003501/0.181, allocations: 3.319 MB / 0.5769 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.1815, allocations: 271.3 kB / 0.5771 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.1817, allocations: 186.5 kB / 0.5773 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.1818, allocations: 42.83 kB / 0.5774 GB, free: 15.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.846e-06/0.1818, allocations: 0 / 0.5774 GB, free: 15.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.003053/0.1848, allocations: 1.333 MB / 0.5787 GB, free: 13.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.1849, allocations: 136.5 kB / 0.5788 GB, free: 13.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004821/0.1854, allocations: 318.8 kB / 0.5791 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.1855, allocations: 37.7 kB / 0.5791 GB, free: 13.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.1858, allocations: 407.8 kB / 0.5795 GB, free: 12.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.186, allocations: 238 kB / 0.5797 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.1863, allocations: 150.6 kB / 0.5799 GB, free: 12.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1865, allocations: 358.7 kB / 0.5802 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.1868, allocations: 197.9 kB / 0.5804 GB, free: 12.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.1874, allocations: 406.8 kB / 0.5808 GB, free: 11.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000901/0.1883, allocations: 0.6142 MB / 0.5814 GB, free: 10.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.1883, allocations: 4 kB / 0.5814 GB, free: 10.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00159/0.1899, allocations: 0.8773 MB / 0.5823 GB, free: 9.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.1899, allocations: 14.17 kB / 0.5823 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.1899, allocations: 8 kB / 0.5823 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/0.1906, allocations: 219.8 kB / 0.5825 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.1911, allocations: 139.8 kB / 0.5826 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006519/0.1976, allocations: 6.717 MB / 0.5892 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005592/0.1981, allocations: 83.36 kB / 0.5893 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.1982, allocations: 35.94 kB / 0.5893 GB, free: 2.191 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.0003647/0.1986, allocations: 230 kB / 0.5895 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.1987, allocations: 39.77 kB / 0.5896 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.2001, allocations: 0.6844 MB / 0.5902 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.2001, allocations: 8 kB / 0.5902 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.2001, allocations: 7.938 kB / 0.5902 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.2001, allocations: 7.922 kB / 0.5903 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2542/0.4543, allocations: 1.55 MB / 0.5918 GB, free: 37.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.4543, allocations: 1.688 kB / 0.5918 GB, free: 37.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.4546, allocations: 69.64 kB / 0.5918 GB, free: 37.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005927/0.4552, allocations: 214.6 kB / 0.592 GB, free: 37.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.4552, allocations: 16.62 kB / 0.5921 GB, free: 37.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00445/0.4597, allocations: 6.698 MB / 0.5986 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4597, allocations: 3.203 kB / 0.5986 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.4612, allocations: 1.185 MB / 0.5998 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.4613, allocations: 127.5 kB / 0.5999 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.4614, allocations: 16.45 kB / 0.5999 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003414/0.4617, allocations: 20.06 kB / 0.5999 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.4619, allocations: 64.22 kB / 0.6 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.4619, allocations: 19.72 kB / 0.6 GB, free: 31.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.4621, allocations: 212 kB / 0.6002 GB, free: 31.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4621, allocations: 0 / 0.6002 GB, free: 31.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001019/0.4632, allocations: 277.8 kB / 0.6005 GB, free: 31.62 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.001734/0.4649, allocations: 1.77 MB / 0.6022 GB, free: 30.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.4663, allocations: 1.04 MB / 0.6032 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4663, allocations: 3.062 kB / 0.6032 GB, free: 29.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007795/0.4671, allocations: 0.7623 MB / 0.604 GB, free: 29.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/0.4678, allocations: 53.61 kB / 0.604 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006686/0.4745, allocations: 5.121 MB / 0.609 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.4751, allocations: 0.9149 MB / 0.6099 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002952/0.4753, allocations: 64.2 kB / 0.61 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.4756, allocations: 231.9 kB / 0.6102 GB, free: 24.82 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4756, allocations: 4.688 kB / 0.6102 GB, free: 24.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04459/0.5202, allocations: 12 MB / 0.6219 GB, free: 21.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.99, allocations: 7.938 kB / 0.6219 GB, free: 21.75 MB / 446.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_QuasiStatic_FluxTubes_NoPhysicalTestLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.408600222028326]