Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001074/0.001074, allocations: 81.91 kB / 21.43 MB, free: 3.07 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.001235/0.001235, allocations: 160 kB / 24.82 MB, free: 9.258 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 1.052/1.052, allocations: 177 MB / 205.1 MB, free: 5.504 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 273.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.092e-05, allocations: 6.312 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.001828/0.001849, allocations: 1.614 MB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002961/0.002145, allocations: 139.4 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.002215, allocations: 4 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.089e-05/0.002256, allocations: 3.938 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.002371, allocations: 15.91 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.002534, allocations: 35.8 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.691e-05/0.002611, allocations: 35.91 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.507e-05/0.002686, allocations: 11.98 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.002731, allocations: 19.92 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.678e-05/0.002768, allocations: 7.984 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.002784, allocations: 4 kB / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.314e-06/0.002791, allocations: 0 / 275.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.932e-05/0.002831, allocations: 15.92 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.002852, allocations: 15.94 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.96e-05/0.002931, allocations: 31.83 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.002933, allocations: 4 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.002933, allocations: 3.938 kB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.002936, allocations: 0 / 275.3 MB, free: 15.28 MB / 266.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.0005488/0.003485, allocations: 396.3 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.00352, allocations: 15.98 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.003544, allocations: 8.891 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.003659, allocations: 132.5 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.003666, allocations: 4.375 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.74e-06/0.003672, allocations: 384 / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.003826, allocations: 133.5 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.003831, allocations: 192 / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-06/0.003836, allocations: 384 / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.003842, allocations: 4.375 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.368e-05/0.003855, allocations: 11.92 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.004027, allocations: 244 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.004123, allocations: 74.09 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.004144, allocations: 23.44 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.00416, allocations: 4 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.004178, allocations: 41.31 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004179, allocations: 0 / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001006/0.004279, allocations: 61.52 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.004313, allocations: 81.11 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.004387, allocations: 185.9 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.004394, allocations: 25.7 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.004431, allocations: 130.9 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.004441, allocations: 8.078 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.004465, allocations: 23.38 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.004561, allocations: 0.4884 MB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.004567, allocations: 0 / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-06/0.004572, allocations: 4 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.284e-05/0.004585, allocations: 7.688 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.004586, allocations: 0 / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.078e-05/0.004617, allocations: 37.64 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.004626, allocations: 4 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.00463, allocations: 4.094 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.004642, allocations: 3.938 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.621e-05/0.004668, allocations: 4 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.004671, allocations: 0 / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.14e-05/0.004682, allocations: 3.984 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-06/0.004685, allocations: 0 / 277.4 MB, free: 12.9 MB / 266.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 5.343e-05/0.004738, allocations: 160.6 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.004773, allocations: 45.83 kB / 277.6 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.004797, allocations: 12.33 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.004799, allocations: 7.875 kB / 277.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.004801, allocations: 8 kB / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004804, allocations: 0 / 277.7 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.735e-05/0.004891, allocations: 105.2 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.004893, allocations: 4 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.841e-05/0.004911, allocations: 4 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.004913, allocations: 4 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-06/0.004916, allocations: 3.938 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004917, allocations: 0 / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004917, allocations: 0 / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.808e-05/0.004986, allocations: 203.5 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.005004, allocations: 11.98 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.005012, allocations: 3.984 kB / 278 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.005041, allocations: 11.94 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.005058, allocations: 0 / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.005061, allocations: 3.938 kB / 278 MB, free: 12.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.688e-05/0.005098, allocations: 142.2 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005098, allocations: 0 / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001306/0.005229, allocations: 4 kB / 278.1 MB, free: 12.12 MB / 266.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 5.407e-05/0.005283, allocations: 91.25 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.792e-05/0.005331, allocations: 27.67 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.005332, allocations: 0 / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.005342, allocations: 11.62 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.005539, allocations: 32 kB / 278.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001862/0.005726, allocations: 152.9 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.005758, allocations: 67.28 kB / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.184e-05/0.00577, allocations: 0 / 278.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.005815, allocations: 74.19 kB / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005815, allocations: 4.125 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of Templates: time 0.001741/0.007556, allocations: 0.5546 MB / 279.2 MB, free: 11.04 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6481961719691753]