Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009047/0.0009045, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.167/1.167, allocations: 227.2 MB / 245 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008023/0.0008024, allocations: 98.84 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002076/0.0002076, allocations: 7.984 kB / 357.9 MB, free: 9.336 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1697, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08088/0.2506, allocations: 77.9 MB / 487.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.2509, allocations: 81.97 kB / 487.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005547/0.2565, allocations: 2.223 MB / 489.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2565, allocations: 0 / 489.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2565, allocations: 4 kB / 489.6 MB, free: 10.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003167/0.2568, allocations: 383 kB / 490 MB, free: 9.988 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2569, allocations: 12.03 kB / 490 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.257, allocations: 15.91 kB / 490 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.2572, allocations: 192.9 kB / 490.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2572, allocations: 15.89 kB / 490.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.2572, allocations: 0 / 490.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.2574, allocations: 113.9 kB / 490.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.2574, allocations: 0 / 490.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.2574, allocations: 0 / 490.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2575, allocations: 4 kB / 490.3 MB, free: 9.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.2575, allocations: 35.91 kB / 490.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.2579, allocations: 274.6 kB / 490.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.152e-05/0.258, allocations: 75.78 kB / 490.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.258, allocations: 7.922 kB / 490.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.258, allocations: 35.84 kB / 490.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.258, allocations: 4.062 kB / 490.8 MB, free: 9.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002384/0.2583, allocations: 93.45 kB / 490.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.2583, allocations: 106.8 kB / 491 MB, free: 8.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.2584, allocations: 129 kB / 491.1 MB, free: 8.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2584, allocations: 26.08 kB / 491.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.2585, allocations: 88.14 kB / 491.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.2585, allocations: 11.91 kB / 491.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.2585, allocations: 0 / 491.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.2586, allocations: 318.8 kB / 491.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.2586, allocations: 12 kB / 491.5 MB, free: 8.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-05/0.2587, allocations: 35.36 kB / 491.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.83e-05/0.2587, allocations: 23.98 kB / 491.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2588, allocations: 0 / 491.6 MB, free: 8.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001239/0.2589, allocations: 69.72 kB / 491.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2589, allocations: 8.031 kB / 491.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2589, allocations: 0 / 491.7 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2589, allocations: 7.984 kB / 491.7 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.259, allocations: 8 kB / 491.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.259, allocations: 3.938 kB / 491.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.2591, allocations: 8 kB / 491.7 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.2591, allocations: 0 / 491.7 MB, free: 8.062 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.2591, allocations: 125.8 kB / 491.8 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.2592, allocations: 53.59 kB / 491.9 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.031e-05/0.2593, allocations: 15.81 kB / 491.9 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.2593, allocations: 0 / 491.9 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2593, allocations: 7.938 kB / 491.9 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2593, allocations: 0 / 491.9 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.2594, allocations: 177.5 kB / 492.1 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2594, allocations: 4 kB / 492.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.2595, allocations: 11.98 kB / 492.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2595, allocations: 0 / 492.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2595, allocations: 4.062 kB / 492.1 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2595, allocations: 4 kB / 492.1 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2595, allocations: 0 / 492.1 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.2597, allocations: 208.6 kB / 492.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.2598, allocations: 93.12 kB / 492.4 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.2598, allocations: 7.984 kB / 492.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.2599, allocations: 0 / 492.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.2599, allocations: 4 kB / 492.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-06/0.2599, allocations: 0 / 492.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.597e-05/0.26, allocations: 122.1 kB / 492.5 MB, free: 7.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.26, allocations: 0 / 492.5 MB, free: 7.117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.2602, allocations: 15.91 kB / 492.5 MB, free: 7.102 MB / 362.7 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.388e-05/0.2603, allocations: 95.25 kB / 492.6 MB, free: 7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.2604, allocations: 35.92 kB / 492.7 MB, free: 6.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2605, allocations: 0 / 492.7 MB, free: 6.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.2605, allocations: 16.23 kB / 492.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2607, allocations: 31.41 kB / 492.7 MB, free: 6.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.261, allocations: 197.9 kB / 492.9 MB, free: 6.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.2612, allocations: 0.6965 MB / 493.6 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.946e-05/0.2613, allocations: 8.125 kB / 493.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.2613, allocations: 7.438 kB / 493.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2613, allocations: 0 / 493.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of Templates: time 0.002044/0.2633, allocations: 0.5226 MB / 494.1 MB, free: 5.445 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches