Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001256/0.001256, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.007242/0.007242, allocations: 163.1 kB / 24.7 MB, free: 8.891 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.8948/0.8948, allocations: 177.1 MB / 205 MB, free: 5.766 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.2561/0.2561, allocations: 32.79 MB / 294.2 MB, free: 1.199 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: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 440.8 MB, free: 3.797 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.444e-05, allocations: 6.219 kB / 440.8 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003922/0.003947, allocations: 3.252 MB / 444.1 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1668/0.1707, allocations: 0.7948 MB / 444.9 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002512/0.171, allocations: 8.719 kB / 444.9 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.1711, allocations: 78.42 kB / 445 MB, free: 43.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.1713, allocations: 132.2 kB / 445.1 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.1716, allocations: 136.3 kB / 445.2 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.1719, allocations: 0.5387 MB / 445.8 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1721, allocations: 166.7 kB / 445.9 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1723, allocations: 316.3 kB / 446.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.1725, allocations: 170 kB / 446.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.509e-05/0.1725, allocations: 51.03 kB / 446.5 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.1726, allocations: 49.09 kB / 446.5 MB, free: 43.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.1726, allocations: 113.3 kB / 446.6 MB, free: 43.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.345e-05/0.1727, allocations: 178.1 kB / 446.8 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.173, allocations: 0.5604 MB / 447.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.173, allocations: 0 / 447.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1731, allocations: 0 / 447.3 MB, free: 43.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1731, allocations: 0 / 447.3 MB, free: 43.53 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0007454/0.1738, allocations: 0.7004 MB / 448 MB, free: 43.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1738, allocations: 12.06 kB / 448.1 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.1739, allocations: 54.02 kB / 448.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.1742, allocations: 261.6 kB / 448.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.1742, allocations: 39.72 kB / 448.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.1743, allocations: 43.22 kB / 448.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.1747, allocations: 0.5091 MB / 449 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1748, allocations: 2.906 kB / 449 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.1748, allocations: 19.53 kB / 449 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1748, allocations: 19.38 kB / 449 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.1752, allocations: 319.4 kB / 449.3 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1764, allocations: 1.449 MB / 450.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.1767, allocations: 224.3 kB / 451 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.1768, allocations: 128.5 kB / 451.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.1769, allocations: 6.078 kB / 451.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.1769, allocations: 39.22 kB / 451.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.1769, allocations: 0 / 451.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.001486/0.1784, allocations: 1.126 MB / 452.3 MB, free: 40.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.1784, allocations: 79.95 kB / 452.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1785, allocations: 259.1 kB / 452.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1785, allocations: 33.7 kB / 452.6 MB, free: 40.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.1786, allocations: 263.2 kB / 452.9 MB, free: 40.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.1786, allocations: 129.7 kB / 453 MB, free: 39.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.1787, allocations: 74.17 kB / 453.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.1787, allocations: 340.8 kB / 453.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1789, allocations: 106.5 kB / 453.5 MB, free: 39.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.179, allocations: 215 kB / 453.7 MB, free: 39.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.1793, allocations: 344 kB / 454.1 MB, free: 39.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1793, allocations: 0 / 454.1 MB, free: 39.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004208/0.1797, allocations: 420.2 kB / 454.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1798, allocations: 8.375 kB / 454.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1798, allocations: 3.156 kB / 454.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/0.1799, allocations: 34.44 kB / 454.5 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.1801, allocations: 119.6 kB / 454.6 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005095/0.1806, allocations: 1.324 MB / 456 MB, free: 37.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.1807, allocations: 13.88 kB / 456 MB, free: 37.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1807, allocations: 20 kB / 456 MB, free: 37.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001/0.1808, allocations: 158.8 kB / 456.2 MB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.1809, allocations: 33.84 kB / 456.2 MB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.1809, allocations: 39.45 kB / 456.2 MB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1809, allocations: 11.12 kB / 456.2 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1809, allocations: 7.062 kB / 456.2 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1809, allocations: 7.125 kB / 456.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.1814, allocations: 0.5759 MB / 456.8 MB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1814, allocations: 0 / 456.8 MB, free: 37.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.1816, allocations: 93.12 kB / 456.9 MB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.194e-05/0.1817, allocations: 29.33 kB / 457 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1817, allocations: 7.125 kB / 457 MB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003839/0.1821, allocations: 1.299 MB / 458.3 MB, free: 35.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1821, allocations: 0 / 458.3 MB, free: 35.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.1826, allocations: 0.5986 MB / 458.9 MB, free: 35.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.1827, allocations: 48.25 kB / 458.9 MB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.1827, allocations: 8.875 kB / 458.9 MB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1828, allocations: 22.62 kB / 458.9 MB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1828, allocations: 23.47 kB / 459 MB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.1829, allocations: 16.92 kB / 459 MB, free: 35.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.566e-05/0.1829, allocations: 177.3 kB / 459.1 MB, free: 35.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1829, allocations: 4 kB / 459.2 MB, free: 35.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000266/0.1832, allocations: 92.72 kB / 459.2 MB, free: 35.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.454e-05/0.1833, allocations: 99.34 kB / 459.3 MB, free: 35.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004757/0.1838, allocations: 403.9 kB / 459.7 MB, free: 34.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1838, allocations: 0 / 459.7 MB, free: 34.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.184, allocations: 249.7 kB / 460 MB, free: 34.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1843, allocations: 50.45 kB / 460 MB, free: 34.74 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008988/0.1852, allocations: 0.841 MB / 460.9 MB, free: 34.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.1853, allocations: 209 kB / 461.1 MB, free: 34.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.1853, allocations: 33.47 kB / 461.1 MB, free: 34.1 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1853, allocations: 0 / 461.1 MB, free: 34.1 MB / 410.7 MB Notification: Performance of Templates: time 0.004719/0.1901, allocations: 6.133 MB / 467.2 MB, free: 33.52 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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: 5.115890180692077]