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.0008845/0.0008845, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009197/0.0009197, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8981/0.8981, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.2358/0.2358, allocations: 32.79 MB / 293.5 MB, free: 1.211 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 3.938 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.669e-05, allocations: 7.406 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.1617/0.1617, allocations: 4.748 MB / 444.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1635, allocations: 1.586 MB / 445.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.1637, allocations: 20.88 kB / 445.9 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.165, allocations: 1.558 MB / 447.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.1654, allocations: 329.8 kB / 447.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.1659, allocations: 0.4898 MB / 448.3 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.1662, allocations: 0.8323 MB / 449.1 MB, free: 42.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005115/0.1667, allocations: 0.6351 MB / 449.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.167, allocations: 0.5064 MB / 450.3 MB, free: 41.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.1673, allocations: 347.7 kB / 450.6 MB, free: 41.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.806e-05/0.1673, allocations: 73.75 kB / 450.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.1675, allocations: 191.8 kB / 450.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.1676, allocations: 178.8 kB / 451.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.1677, allocations: 288.8 kB / 451.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.1683, allocations: 1.19 MB / 452.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1683, allocations: 4 kB / 452.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1683, allocations: 0 / 452.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1683, allocations: 0 / 452.5 MB, free: 40.59 MB / 410.7 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.001575/0.1699, allocations: 1.287 MB / 453.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1699, allocations: 9.656 kB / 453.8 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.713e-05/0.17, allocations: 151.4 kB / 454 MB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007498/0.1707, allocations: 235.8 kB / 454.2 MB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1708, allocations: 204.7 kB / 454.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.1709, allocations: 71.44 kB / 454.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.171, allocations: 105.6 kB / 454.6 MB, free: 39.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007722/0.1717, allocations: 0.9356 MB / 455.5 MB, free: 39.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.1718, allocations: 18.59 kB / 455.5 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.1718, allocations: 38.34 kB / 455.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.1718, allocations: 25.84 kB / 455.6 MB, free: 38.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006765/0.1725, allocations: 0.7193 MB / 456.3 MB, free: 38.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002261/0.1747, allocations: 2.835 MB / 459.2 MB, free: 36.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/0.1755, allocations: 0.7624 MB / 459.9 MB, free: 36.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.1758, allocations: 261.7 kB / 460.2 MB, free: 36.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.184e-05/0.1758, allocations: 26.92 kB / 460.2 MB, free: 36.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.1758, allocations: 51.52 kB / 460.3 MB, free: 36.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 2.605e-06/0.1758, allocations: 4 kB / 460.3 MB, free: 36.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.00126/0.1771, allocations: 1.013 MB / 461.3 MB, free: 35.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.1771, allocations: 138.4 kB / 461.4 MB, free: 35.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1773, allocations: 332.5 kB / 461.7 MB, free: 35.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1773, allocations: 33.7 kB / 461.8 MB, free: 35.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.1774, allocations: 409.2 kB / 462.2 MB, free: 35.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.1775, allocations: 239.3 kB / 462.4 MB, free: 35.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.1776, allocations: 144.6 kB / 462.5 MB, free: 34.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.1776, allocations: 352.3 kB / 462.9 MB, free: 34.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1778, allocations: 200 kB / 463.1 MB, free: 34.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.178, allocations: 403.8 kB / 463.5 MB, free: 34.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.1785, allocations: 0.6272 MB / 464.1 MB, free: 33.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1785, allocations: 4 kB / 464.1 MB, free: 33.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00077/0.1793, allocations: 0.8772 MB / 465 MB, free: 33.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1793, allocations: 6.594 kB / 465 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1793, allocations: 10.7 kB / 465 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.1796, allocations: 225.6 kB / 465.2 MB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.1799, allocations: 136.4 kB / 465.3 MB, free: 33.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.1821, allocations: 6.249 MB / 471.6 MB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.1823, allocations: 85.52 kB / 471.7 MB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.1824, allocations: 38.44 kB / 471.7 MB, free: 27.52 MB / 410.7 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.000154/0.1825, allocations: 221.9 kB / 471.9 MB, free: 27.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.1826, allocations: 48.91 kB / 472 MB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006245/0.1832, allocations: 0.6884 MB / 472.7 MB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1832, allocations: 6.844 kB / 472.7 MB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1832, allocations: 9.984 kB / 472.7 MB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1832, allocations: 0 / 472.7 MB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1844, allocations: 1.462 MB / 474.2 MB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1844, allocations: 0 / 474.2 MB, free: 26.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.1845, allocations: 69.34 kB / 474.2 MB, free: 26.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002566/0.1848, allocations: 211.5 kB / 474.4 MB, free: 26.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1848, allocations: 17.72 kB / 474.4 MB, free: 26.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.1869, allocations: 6.245 MB / 480.7 MB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1869, allocations: 7.125 kB / 480.7 MB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007804/0.1876, allocations: 1.189 MB / 481.9 MB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.1877, allocations: 50.38 kB / 481.9 MB, free: 19.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.1877, allocations: 18.44 kB / 481.9 MB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.1879, allocations: 10.81 kB / 482 MB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.1879, allocations: 60.06 kB / 482 MB, free: 19.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.1879, allocations: 19.61 kB / 482 MB, free: 19.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.188, allocations: 216.4 kB / 482.2 MB, free: 19.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.188, allocations: 0 / 482.2 MB, free: 19.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005177/0.1886, allocations: 282.2 kB / 482.5 MB, free: 19.27 MB / 410.7 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.0009489/0.1895, allocations: 1.769 MB / 484.3 MB, free: 17.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007424/0.1903, allocations: 1.046 MB / 485.3 MB, free: 17.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1903, allocations: 0 / 485.3 MB, free: 17.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.1906, allocations: 0.7585 MB / 486.1 MB, free: 16.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.1911, allocations: 48.17 kB / 486.1 MB, free: 16.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.1946, allocations: 5.081 MB / 491.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.1948, allocations: 324.5 kB / 491.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.195, allocations: 64.52 kB / 491.6 MB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.1951, allocations: 233.8 kB / 491.8 MB, free: 13 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1951, allocations: 0 / 491.8 MB, free: 13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.2268, allocations: 12.92 MB / 0.4929 GB, free: 10.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.379, allocations: 12.05 kB / 0.4929 GB, free: 10.78 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/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: 9.300687213428319]