Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001107/0.001107, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001044/0.001044, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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.109/1.109, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 273 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.533e-05, allocations: 2.312 kB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002569/0.002604, allocations: 1.649 MB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.003527, allocations: 0.5258 MB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.003632, allocations: 7.938 kB / 275.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.11e-05/0.003693, allocations: 11.92 kB / 275.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.00386, allocations: 11.88 kB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.004227, allocations: 59.73 kB / 275.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.004344, allocations: 51.8 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004456, allocations: 12.11 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.004616, allocations: 39.89 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.004673, allocations: 8 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.004693, allocations: 4 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.532e-05/0.004748, allocations: 11.98 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.004806, allocations: 15.92 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.004836, allocations: 15.94 kB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.004997, allocations: 51.75 kB / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.005, allocations: 0 / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.005001, allocations: 0 / 275.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.005007, allocations: 0 / 275.4 MB, free: 15.03 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004297/0.005437, allocations: 404.2 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.005478, allocations: 12.03 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.005615, allocations: 20.88 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.005803, allocations: 153 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.005813, allocations: 384 / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.005826, allocations: 8.359 kB / 276 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.00607, allocations: 141 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.00608, allocations: 0 / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.00609, allocations: 4 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.006097, allocations: 0 / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.659e-05/0.006124, allocations: 15.98 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.006408, allocations: 279.1 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.132e-05/0.006489, allocations: 89.11 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.006525, allocations: 35.19 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.006547, allocations: 0 / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.006566, allocations: 37.39 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.006567, allocations: 0 / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001677/0.006735, allocations: 73.52 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.006783, allocations: 106.8 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.883e-05/0.006882, allocations: 197.1 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.006891, allocations: 29.7 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/0.00694, allocations: 134.9 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.006955, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.006982, allocations: 27.31 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.007095, allocations: 0.4922 MB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.007114, allocations: 0 / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.092e-05/0.007125, allocations: 4.375 kB / 277.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.19e-05/0.007157, allocations: 19.69 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007159, allocations: 3.938 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.685e-05/0.007226, allocations: 41.67 kB / 277.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.007245, allocations: 4 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.007252, allocations: 0 / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.00727, allocations: 0 / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.007358, allocations: 4 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.007365, allocations: 0 / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.007383, allocations: 3.984 kB / 277.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.007391, allocations: 4.031 kB / 277.8 MB, free: 12.44 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 8.751e-05/0.007478, allocations: 164.5 kB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.00754, allocations: 45.59 kB / 278 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.007582, allocations: 15.95 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.007585, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.007591, allocations: 0 / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.007596, allocations: 4 kB / 278 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.007709, allocations: 136.5 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.007711, allocations: 4 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.007748, allocations: 8.062 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.007751, allocations: 4 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.007758, allocations: 0 / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.007761, allocations: 3.938 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007762, allocations: 0 / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.007884, allocations: 227.2 kB / 278.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.007917, allocations: 15.89 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.00793, allocations: 4 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.007966, allocations: 7.984 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.008002, allocations: 0 / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.008008, allocations: 4 kB / 278.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.94e-05/0.008067, allocations: 143.2 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008067, allocations: 0 / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.00821, allocations: 8 kB / 278.5 MB, free: 11.59 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.678e-05/0.008307, allocations: 103.2 kB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.103e-05/0.008398, allocations: 15.69 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0084, allocations: 0 / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.889e-05/0.008419, allocations: 11.69 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.008721, allocations: 36.22 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.00924, allocations: 192.3 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.425e-05/0.009284, allocations: 59.34 kB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.156e-05/0.009316, allocations: 8 kB / 278.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.009353, allocations: 12.5 kB / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.009354, allocations: 0 / 279 MB, free: 11.08 MB / 266.7 MB Notification: Performance of Templates: time 0.002769/0.01212, allocations: 0.638 MB / 279.6 MB, free: 10.45 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.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: 3.104649064131081]