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.0007729/0.0007729, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003416/0.003416, allocations: 160.7 kB / 24.7 MB, free: 9.418 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.8799/0.8799, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2241/0.2241, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 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 1.342e-06/1.342e-06, allocations: 0 / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.185e-05, allocations: 6.219 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.1865/0.1865, allocations: 2.515 MB / 445.9 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007673/0.1873, allocations: 0.7494 MB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1874, allocations: 5.844 kB / 446.7 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.1876, allocations: 72.2 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.1877, allocations: 109.8 kB / 446.9 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.1879, allocations: 122.8 kB / 447 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.1881, allocations: 426.2 kB / 447.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.1883, allocations: 99.22 kB / 447.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.1884, allocations: 227.8 kB / 447.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.1885, allocations: 121 kB / 447.8 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.1886, allocations: 32 kB / 447.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.658e-05/0.1886, allocations: 38.94 kB / 447.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.1886, allocations: 69.89 kB / 448 MB, free: 42.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.1887, allocations: 123.2 kB / 448.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.1889, allocations: 439.6 kB / 448.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1889, allocations: 0 / 448.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1889, allocations: 3.562 kB / 448.5 MB, free: 42.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1889, allocations: 0 / 448.5 MB, free: 42.29 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0006036/0.1895, allocations: 0.5965 MB / 449.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1896, allocations: 11.88 kB / 449.1 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.1896, allocations: 45.25 kB / 449.2 MB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.1899, allocations: 225.9 kB / 449.4 MB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1899, allocations: 30.75 kB / 449.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.1899, allocations: 36.41 kB / 449.5 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.1903, allocations: 364.2 kB / 449.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1903, allocations: 0 / 449.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.1903, allocations: 14.78 kB / 449.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1904, allocations: 8.469 kB / 449.9 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.1907, allocations: 265.1 kB / 450.1 MB, free: 41.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/0.1916, allocations: 1.163 MB / 451.3 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.1919, allocations: 187.5 kB / 451.5 MB, free: 40.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.192, allocations: 83.91 kB / 451.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.192, allocations: 14.84 kB / 451.6 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.192, allocations: 36.19 kB / 451.6 MB, free: 40.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.192, allocations: 0 / 451.6 MB, free: 40.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004164/0.1924, allocations: 248.4 kB / 451.8 MB, free: 40.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1924, allocations: 131.2 kB / 452 MB, free: 39.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1926, allocations: 294.1 kB / 452.2 MB, free: 39.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.1926, allocations: 32.55 kB / 452.3 MB, free: 39.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.1927, allocations: 251.6 kB / 452.5 MB, free: 39.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1927, allocations: 55.94 kB / 452.6 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.1927, allocations: 57.58 kB / 452.6 MB, free: 39.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.713e-05/0.1928, allocations: 335.3 kB / 453 MB, free: 39.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.1929, allocations: 80.89 kB / 453 MB, free: 39.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.193, allocations: 171 kB / 453.2 MB, free: 38.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.1933, allocations: 253.5 kB / 453.5 MB, free: 38.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1933, allocations: 0 / 453.5 MB, free: 38.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003099/0.1936, allocations: 303.5 kB / 453.8 MB, free: 38.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1936, allocations: 6.969 kB / 453.8 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1936, allocations: 3 kB / 453.8 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1936, allocations: 5.875 kB / 453.8 MB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.1938, allocations: 88 kB / 453.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1938, allocations: 11.91 kB / 453.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.1939, allocations: 44.75 kB / 453.9 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1939, allocations: 19.44 kB / 453.9 MB, free: 38.65 MB / 410.7 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 7.317e-05/0.194, allocations: 152.6 kB / 454.1 MB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.194, allocations: 29.27 kB / 454.1 MB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.1941, allocations: 29.09 kB / 454.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1941, allocations: 2.75 kB / 454.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1941, allocations: 2.75 kB / 454.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.1941, allocations: 0 / 454.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.1944, allocations: 0.5005 MB / 454.6 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1944, allocations: 0 / 454.6 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1946, allocations: 60.06 kB / 454.7 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1946, allocations: 2.875 kB / 454.7 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1946, allocations: 2.844 kB / 454.7 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1946, allocations: 10.62 kB / 454.7 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1946, allocations: 0 / 454.7 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.1948, allocations: 398.3 kB / 455.1 MB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.1948, allocations: 35.36 kB / 455.1 MB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1948, allocations: 2.906 kB / 455.1 MB, free: 37.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.1949, allocations: 18.97 kB / 455.2 MB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.195, allocations: 20.06 kB / 455.2 MB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.195, allocations: 5.562 kB / 455.2 MB, free: 37.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.973e-05/0.1951, allocations: 198.3 kB / 455.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1951, allocations: 6.938 kB / 455.4 MB, free: 37.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.1953, allocations: 69.94 kB / 455.5 MB, free: 37.57 MB / 410.7 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 6.464e-05/0.1954, allocations: 105.4 kB / 455.6 MB, free: 37.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.1956, allocations: 188.5 kB / 455.7 MB, free: 37.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1956, allocations: 4.125 kB / 455.7 MB, free: 37.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1957, allocations: 82.23 kB / 455.8 MB, free: 37.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.196, allocations: 14.22 kB / 455.8 MB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005462/0.1966, allocations: 0.569 MB / 456.4 MB, free: 36.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.233e-05/0.1966, allocations: 170.6 kB / 456.6 MB, free: 36.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.1967, allocations: 19.09 kB / 456.6 MB, free: 36.9 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1967, allocations: 0 / 456.6 MB, free: 36.9 MB / 410.7 MB Notification: Performance of Templates: time 0.002762/0.1995, allocations: 3.213 MB / 459.8 MB, free: 36.54 MB / 410.7 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: 4.5869711227715015]