Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 82.2 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002582/0.002582, allocations: 147 kB / 23.93 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 318.9 MB, free: 3.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.091e-05, allocations: 3.125 kB / 318.9 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003809/0.00384, allocations: 1.676 MB / 320.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006886/0.004528, allocations: 168.4 kB / 320.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.004702, allocations: 1.438 kB / 320.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.176e-05/0.004773, allocations: 9.609 kB / 320.8 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.004991, allocations: 12.22 kB / 320.8 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.005373, allocations: 44.39 kB / 320.8 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.005536, allocations: 56.72 kB / 320.9 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.005678, allocations: 28.19 kB / 320.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.005758, allocations: 29.05 kB / 321 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.005828, allocations: 26.31 kB / 321 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.005858, allocations: 3.938 kB / 321 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.005875, allocations: 5.281 kB / 321 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.199e-05/0.005937, allocations: 14.67 kB / 321 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.005974, allocations: 24.86 kB / 321 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.006155, allocations: 69.89 kB / 321.1 MB, free: 1.992 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.006159, allocations: 3.938 kB / 321.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.006161, allocations: 1.125 kB / 321.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.006168, allocations: 0 / 321.1 MB, free: 1.988 MB / 286.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.0005225/0.00669, allocations: 309.1 kB / 321.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.006739, allocations: 15.02 kB / 321.4 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.00679, allocations: 12.88 kB / 321.4 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.00703, allocations: 137.7 kB / 321.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.007046, allocations: 12.19 kB / 321.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.007062, allocations: 4.625 kB / 321.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.007408, allocations: 161.1 kB / 321.7 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.00742, allocations: 4.188 kB / 321.7 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.007432, allocations: 5.531 kB / 321.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.007438, allocations: 2.438 kB / 321.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.00756, allocations: 45.67 kB / 321.8 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.007903, allocations: 299.7 kB / 322.1 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.008169, allocations: 111.1 kB / 322.2 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.424e-05/0.008264, allocations: 52.09 kB / 322.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.008294, allocations: 6.156 kB / 322.3 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.00831, allocations: 33.72 kB / 322.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.008311, allocations: 0 / 322.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003425/0.008654, allocations: 129.7 kB / 322.4 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.008705, allocations: 114.7 kB / 322.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.008808, allocations: 136 kB / 322.7 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.008817, allocations: 26.83 kB / 322.7 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.008852, allocations: 96 kB / 322.8 MB, free: 496 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.008868, allocations: 5.75 kB / 322.8 MB, free: 492 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.008898, allocations: 18.08 kB / 322.8 MB, free: 472 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.419e-05/0.008942, allocations: 317.4 kB / 323.1 MB, free: 148 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.962e-05/0.008982, allocations: 10.59 kB / 323.1 MB, free: 144 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.515e-05/0.009017, allocations: 18.72 kB / 323.1 MB, free: 128 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.814e-05/0.009085, allocations: 31.52 kB / 323.2 MB, free: 104 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.009087, allocations: 1.25 kB / 323.2 MB, free: 104 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001102/0.009197, allocations: 62 kB / 323.2 MB, free: 56 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.009216, allocations: 13.16 kB / 323.2 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.009223, allocations: 2 kB / 323.2 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.00924, allocations: 1.156 kB / 323.2 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.265e-05/0.009282, allocations: 5.172 kB / 323.3 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.009288, allocations: 0.9688 kB / 323.3 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.009319, allocations: 3.188 kB / 323.3 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.009325, allocations: 2.188 kB / 323.3 MB, free: 48 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001195/0.009445, allocations: 117 kB / 323.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.009581, allocations: 80.42 kB / 323.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.009634, allocations: 21.33 kB / 323.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.009637, allocations: 1.125 kB / 323.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.009646, allocations: 1.828 kB / 323.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.009652, allocations: 1.125 kB / 323.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.009916, allocations: 121.4 kB / 323.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.009919, allocations: 1.25 kB / 323.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.01, allocations: 19.62 kB / 323.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01001, allocations: 3.172 kB / 323.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.01002, allocations: 5 kB / 323.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.01002, allocations: 1.438 kB / 323.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.01003, allocations: 6.328 kB / 323.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.01048, allocations: 312.5 kB / 323.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.01053, allocations: 23.84 kB / 324 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.01055, allocations: 10.66 kB / 324 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.809e-05/0.01065, allocations: 1.453 kB / 324 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.01069, allocations: 4.719 kB / 324 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.0107, allocations: 5.75 kB / 324 MB, free: 15.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.01079, allocations: 110.5 kB / 324.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01079, allocations: 4 kB / 324.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.01106, allocations: 11.12 kB / 324.1 MB, free: 15.34 MB / 302.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.0001439/0.0112, allocations: 93.42 kB / 324.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.01138, allocations: 39.38 kB / 324.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01139, allocations: 3.938 kB / 324.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.01143, allocations: 8.922 kB / 324.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.01191, allocations: 43.34 kB / 324.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.01239, allocations: 218.7 kB / 324.5 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.0125, allocations: 94.61 kB / 324.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.01253, allocations: 0.8438 kB / 324.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.01257, allocations: 12.12 kB / 324.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.01257, allocations: 96 / 324.6 MB, free: 14.94 MB / 302.1 MB Notification: Performance of Templates: time 0.003931/0.0165, allocations: 0.6718 MB / 325.3 MB, free: 14.84 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.409171238541603]