Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00642/0.00642, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9113/0.9113, allocations: 177 MB / 204.9 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.287e-05, allocations: 3.125 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002139/0.002172, allocations: 1.603 MB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007788/0.00295, allocations: 0.4985 MB / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.375e-05/0.003044, allocations: 0 / 327.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.802e-05/0.003102, allocations: 11.86 kB / 327.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.003273, allocations: 11.94 kB / 327.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.003613, allocations: 55.75 kB / 328 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.003719, allocations: 43.86 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.003819, allocations: 15.97 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.00396, allocations: 35.8 kB / 328.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.812e-05/0.004018, allocations: 19.91 kB / 328.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.004034, allocations: 0 / 328.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.134e-05/0.004075, allocations: 8 kB / 328.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.004129, allocations: 15.92 kB / 328.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.004157, allocations: 8 kB / 328.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.004507, allocations: 55.8 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00451, allocations: 4 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.004511, allocations: 4 kB / 328.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.004516, allocations: 3.938 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004423/0.004959, allocations: 298 kB / 328.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.005007, allocations: 15.98 kB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.00517, allocations: 20.83 kB / 328.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.00544, allocations: 137.6 kB / 328.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.005452, allocations: 8.375 kB / 328.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.005464, allocations: 384 / 328.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.005743, allocations: 121.6 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.005751, allocations: 192 / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.005764, allocations: 4.375 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.005771, allocations: 3.938 kB / 328.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.005819, allocations: 23.92 kB / 328.8 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.006081, allocations: 213.4 kB / 329 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.006224, allocations: 65.14 kB / 329.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.006264, allocations: 29.75 kB / 329.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.006282, allocations: 4 kB / 329.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.0063, allocations: 38.5 kB / 329.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.006301, allocations: 0 / 329.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000183/0.006484, allocations: 77.56 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.006531, allocations: 89.03 kB / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.006628, allocations: 137.2 kB / 329.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.006639, allocations: 29.7 kB / 329.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.006679, allocations: 92.14 kB / 329.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.006695, allocations: 7.938 kB / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.00672, allocations: 13.72 kB / 329.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.006803, allocations: 318.8 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/0.006827, allocations: 7.984 kB / 329.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.006843, allocations: 8 kB / 329.9 MB, free: 11.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.006885, allocations: 24.78 kB / 329.9 MB, free: 11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.006886, allocations: 4.062 kB / 329.9 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.402e-05/0.00695, allocations: 45.64 kB / 330 MB, free: 10.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.006966, allocations: 11.94 kB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.00697, allocations: 0 / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.006981, allocations: 0 / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.072e-05/0.007022, allocations: 7.984 kB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.007027, allocations: 0 / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.533e-05/0.007042, allocations: 0 / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.007048, allocations: 0 / 330 MB, free: 10.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.301e-05/0.007111, allocations: 125.9 kB / 330.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.007153, allocations: 49.53 kB / 330.2 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/0.007183, allocations: 16.33 kB / 330.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.007187, allocations: 4 kB / 330.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.007192, allocations: 0 / 330.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.007195, allocations: 0 / 330.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.984e-05/0.007295, allocations: 113.3 kB / 330.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.007297, allocations: 4 kB / 330.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.007335, allocations: 7.984 kB / 330.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.007339, allocations: 4 kB / 330.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.007348, allocations: 7.938 kB / 330.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007349, allocations: 0 / 330.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007349, allocations: 0 / 330.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.007465, allocations: 168.3 kB / 330.5 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.007496, allocations: 19.94 kB / 330.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.007508, allocations: 3.938 kB / 330.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.411e-05/0.007542, allocations: 8 kB / 330.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.007571, allocations: 0 / 330.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.007577, allocations: 3.984 kB / 330.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.007631, allocations: 107.3 kB / 330.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007631, allocations: 4 kB / 330.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001408/0.007772, allocations: 4 kB / 330.6 MB, free: 10.22 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001103/0.007883, allocations: 95.25 kB / 330.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.521e-05/0.007978, allocations: 39.78 kB / 330.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.00798, allocations: 0 / 330.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.007998, allocations: 4 kB / 330.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.008247, allocations: 23.72 kB / 330.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.008544, allocations: 199.3 kB / 331 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.546e-05/0.00861, allocations: 79.08 kB / 331.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.008641, allocations: 16.48 kB / 331.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008641, allocations: 3.938 kB / 331.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of Templates: time 0.001719/0.01036, allocations: 0.7444 MB / 331.8 MB, free: 8.969 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.2205032501369715]