Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001791/0.001791, allocations: 70.19 kB / 21.24 MB, free: 0.5547 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.002082/0.002082, allocations: 159 kB / 24.5 MB, free: 3.715 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.554/1.554, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00275/0.00275, allocations: 51.72 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1733, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00605/0.1794, allocations: 1.691 MB / 380.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.1802, allocations: 175.3 kB / 380.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1804, allocations: 0 / 380.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.725e-05/0.1804, allocations: 11.86 kB / 380.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.1807, allocations: 7.938 kB / 380.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.1811, allocations: 47.83 kB / 380.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1813, allocations: 51.84 kB / 380.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1815, allocations: 19.98 kB / 380.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.571e-05/0.1816, allocations: 23.92 kB / 380.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.1817, allocations: 19.86 kB / 381 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.1817, allocations: 11.98 kB / 381 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.457e-05/0.1817, allocations: 4 kB / 381 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.1818, allocations: 15.92 kB / 381 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.1819, allocations: 31.75 kB / 381 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.1821, allocations: 75.53 kB / 381.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1821, allocations: 0 / 381.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1821, allocations: 4 kB / 381.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.1821, allocations: 0 / 381.1 MB, free: 13.47 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008709/0.183, allocations: 317.9 kB / 381.4 MB, free: 13.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.1831, allocations: 8.031 kB / 381.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/0.1832, allocations: 12.89 kB / 381.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004642/0.1836, allocations: 137.2 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.1836, allocations: 4.375 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.1837, allocations: 8.375 kB / 381.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006165/0.1843, allocations: 166.4 kB / 381.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.1843, allocations: 4.188 kB / 381.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.1843, allocations: 7.938 kB / 381.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1843, allocations: 3.984 kB / 381.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002048/0.1845, allocations: 39.91 kB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.1852, allocations: 309.5 kB / 382.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.1856, allocations: 111.8 kB / 382.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.1858, allocations: 62.61 kB / 382.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.1858, allocations: 0 / 382.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.1859, allocations: 34.56 kB / 382.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1859, allocations: 0 / 382.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005856/0.1865, allocations: 125.4 kB / 382.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.1866, allocations: 110.8 kB / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1868, allocations: 138.1 kB / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1868, allocations: 25.7 kB / 382.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.1869, allocations: 92.12 kB / 382.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.187, allocations: 7.953 kB / 382.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.187, allocations: 29.67 kB / 382.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.1873, allocations: 314.8 kB / 383.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.516e-05/0.1873, allocations: 19.98 kB / 383.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.1875, allocations: 67.66 kB / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.1877, allocations: 95.59 kB / 383.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1878, allocations: 4 kB / 383.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000369/0.1881, allocations: 109.4 kB / 383.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1881, allocations: 8.188 kB / 383.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1882, allocations: 0 / 383.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.1882, allocations: 7.938 kB / 383.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1883, allocations: 16 kB / 383.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.1883, allocations: 8.297 kB / 383.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1884, allocations: 11.95 kB / 383.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1885, allocations: 4 kB / 383.5 MB, free: 10.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001635/0.1886, allocations: 133.9 kB / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.1889, allocations: 77.77 kB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.1889, allocations: 20.77 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.1889, allocations: 4 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1889, allocations: 0 / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.189, allocations: 0 / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.1893, allocations: 117.3 kB / 383.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.1893, allocations: 3.938 kB / 383.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/0.1895, allocations: 23.92 kB / 383.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1895, allocations: 0 / 383.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.1895, allocations: 8 kB / 383.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1895, allocations: 0 / 383.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1895, allocations: 3.984 kB / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/0.1902, allocations: 316.2 kB / 384.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/0.1903, allocations: 31.88 kB / 384.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1903, allocations: 0 / 384.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1905, allocations: 11.88 kB / 384.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.1906, allocations: 3.984 kB / 384.2 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1906, allocations: 8 kB / 384.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001308/0.1907, allocations: 110.1 kB / 384.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1907, allocations: 0 / 384.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005684/0.1913, allocations: 8 kB / 384.3 MB, free: 9.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001545/0.1914, allocations: 103.2 kB / 384.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.1918, allocations: 55.86 kB / 384.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1918, allocations: 0.5625 kB / 384.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.1918, allocations: 23.92 kB / 384.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008313/0.1927, allocations: 40.03 kB / 384.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006741/0.1934, allocations: 199.4 kB / 384.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.1935, allocations: 91.12 kB / 384.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.1936, allocations: 4.719 kB / 384.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.1936, allocations: 12.62 kB / 384.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1936, allocations: 4 kB / 384.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of Templates: time 0.005824/0.1994, allocations: 0.7673 MB / 385.6 MB, free: 8.543 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.694205402978696]