Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.001377/0.001377, allocations: 127.4 kB / 17.79 MB, free: 5.246 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.001485/0.001485, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.593/1.593, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2564/0.2564, 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: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 63.91 kB / 0.4914 GB, free: 7.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1611, allocations: 66 MB / 0.5558 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004344/0.1655, allocations: 2.69 MB / 0.5585 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.167, allocations: 0.7944 MB / 0.5592 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.1671, allocations: 15.88 kB / 0.5593 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1674, allocations: 71.36 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1676, allocations: 103.2 kB / 0.5594 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1679, allocations: 111.8 kB / 0.5595 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.1685, allocations: 430.2 kB / 0.5599 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.1687, allocations: 99.3 kB / 0.56 GB, free: 1.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1689, allocations: 147.5 kB / 0.5602 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.1691, allocations: 175.2 kB / 0.5603 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/0.1692, allocations: 32 kB / 0.5604 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.068e-05/0.1693, allocations: 32 kB / 0.5604 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.1693, allocations: 75.7 kB / 0.5605 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.1695, allocations: 187 kB / 0.5607 GB, free: 404 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005241/0.17, allocations: 426.1 kB / 0.5611 GB, free: 15.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.17, allocations: 4 kB / 0.5611 GB, free: 15.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.17, allocations: 4 kB / 0.5611 GB, free: 15.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1701, allocations: 0 / 0.5611 GB, free: 15.97 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001218/0.1713, allocations: 0.6857 MB / 0.5617 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1713, allocations: 13.11 kB / 0.5618 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.535e-05/0.1714, allocations: 40.7 kB / 0.5618 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.1718, allocations: 290.6 kB / 0.5621 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.1718, allocations: 25.38 kB / 0.5621 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.811e-05/0.1719, allocations: 28.38 kB / 0.5621 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.1726, allocations: 366.2 kB / 0.5625 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1726, allocations: 0 / 0.5625 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.1726, allocations: 12 kB / 0.5625 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1727, allocations: 11.98 kB / 0.5625 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007073/0.1734, allocations: 263.8 kB / 0.5627 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.1756, allocations: 1.347 MB / 0.5641 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.1761, allocations: 190.5 kB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.1764, allocations: 83.56 kB / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1764, allocations: 0 / 0.5643 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.1764, allocations: 42.55 kB / 0.5644 GB, free: 12.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.092e-06/0.1764, allocations: 0 / 0.5644 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009039/0.1773, allocations: 257.2 kB / 0.5646 GB, free: 12.08 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/0.1774, allocations: 128.5 kB / 0.5647 GB, free: 11.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.1778, allocations: 341.7 kB / 0.5651 GB, free: 11.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1779, allocations: 25.7 kB / 0.5651 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.1781, allocations: 244.3 kB / 0.5653 GB, free: 11.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.1781, allocations: 59.58 kB / 0.5654 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1782, allocations: 61.88 kB / 0.5654 GB, free: 11.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.1784, allocations: 342.8 kB / 0.5658 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.1787, allocations: 80.5 kB / 0.5658 GB, free: 10.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.179, allocations: 172.1 kB / 0.566 GB, free: 10.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.1795, allocations: 259.6 kB / 0.5662 GB, free: 10.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1796, allocations: 0 / 0.5662 GB, free: 10.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007251/0.1803, allocations: 309.3 kB / 0.5665 GB, free: 9.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.1803, allocations: 17.73 kB / 0.5666 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1803, allocations: 7.938 kB / 0.5666 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1803, allocations: 4 kB / 0.5666 GB, free: 9.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.1807, allocations: 83.88 kB / 0.5666 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.1808, allocations: 11.92 kB / 0.5667 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.181, allocations: 47.66 kB / 0.5667 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.1811, allocations: 16 kB / 0.5667 GB, free: 9.766 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.1812, allocations: 155.9 kB / 0.5669 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.965e-05/0.1813, allocations: 27.81 kB / 0.5669 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.278e-05/0.1814, allocations: 34.39 kB / 0.5669 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1814, allocations: 4 kB / 0.5669 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1814, allocations: 0 / 0.5669 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1814, allocations: 4 kB / 0.5669 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008372/0.1823, allocations: 0.5915 MB / 0.5675 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1823, allocations: 4 kB / 0.5675 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.1826, allocations: 59.88 kB / 0.5676 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.1826, allocations: 4 kB / 0.5676 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1826, allocations: 7.938 kB / 0.5676 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1826, allocations: 4.156 kB / 0.5676 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.1826, allocations: 4 kB / 0.5676 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006489/0.1833, allocations: 405.1 kB / 0.568 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1834, allocations: 108.9 kB / 0.5681 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.1834, allocations: 11.92 kB / 0.5681 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.1836, allocations: 15.98 kB / 0.5681 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.1837, allocations: 15.98 kB / 0.5681 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1837, allocations: 8 kB / 0.5681 GB, free: 8.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003083/0.1841, allocations: 235.2 kB / 0.5684 GB, free: 7.957 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1841, allocations: 0 / 0.5684 GB, free: 7.957 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004308/0.1845, allocations: 71.89 kB / 0.5684 GB, free: 7.887 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001723/0.1847, allocations: 103.1 kB / 0.5685 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.1853, allocations: 187.8 kB / 0.5687 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1853, allocations: 0 / 0.5687 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.1856, allocations: 84.62 kB / 0.5688 GB, free: 7.508 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.186, allocations: 25.38 kB / 0.5688 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1871, allocations: 0.5645 MB / 0.5694 GB, free: 6.871 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.1876, allocations: 0.7791 MB / 0.5701 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.474e-05/0.1877, allocations: 22.22 kB / 0.5701 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.1878, allocations: 19.44 kB / 0.5702 GB, free: 6.027 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1878, allocations: 4 kB / 0.5702 GB, free: 6.023 MB / 430.1 MB Notification: Performance of Templates: time 0.005975/0.1937, allocations: 1.881 MB / 0.572 GB, free: 4.145 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.42419371008873]