Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.0008937/0.0008937, allocations: 82.17 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001599/0.001599, allocations: 149.7 kB / 24.81 MB, free: 8.777 MB / 18.57 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 0.98/0.98, allocations: 173.3 MB / 201.4 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.036e-05, allocations: 6.25 kB / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003647/0.003678, allocations: 1.623 MB / 270 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.004612, allocations: 470.6 kB / 270.5 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.004713, allocations: 0 / 270.5 MB, free: 4.086 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.00477, allocations: 11.86 kB / 270.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.004926, allocations: 7.938 kB / 270.5 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.005212, allocations: 51.75 kB / 270.6 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.005336, allocations: 51.78 kB / 270.6 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.005442, allocations: 12.19 kB / 270.6 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.005561, allocations: 31.89 kB / 270.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.005622, allocations: 15.92 kB / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.005645, allocations: 4 kB / 270.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.005657, allocations: 4 kB / 270.7 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.005701, allocations: 8 kB / 270.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.005729, allocations: 15.92 kB / 270.7 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.00585, allocations: 43.77 kB / 270.8 MB, free: 3.832 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.005853, allocations: 4 kB / 270.8 MB, free: 3.828 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005854, allocations: 0 / 270.8 MB, free: 3.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005859, allocations: 4 kB / 270.8 MB, free: 3.824 MB / 250.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.0004306/0.006289, allocations: 400.3 kB / 271.2 MB, free: 3.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.00633, allocations: 8.922 kB / 271.2 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.006374, allocations: 16.84 kB / 271.2 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.006548, allocations: 144.4 kB / 271.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.006557, allocations: 384 / 271.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.00657, allocations: 8.375 kB / 271.3 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002501/0.00682, allocations: 129.3 kB / 271.5 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.006828, allocations: 4.125 kB / 271.5 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.006835, allocations: 8.125 kB / 271.5 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.00684, allocations: 0 / 271.5 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.006863, allocations: 4 kB / 271.5 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002088/0.007072, allocations: 255.8 kB / 271.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.137e-05/0.007133, allocations: 93.23 kB / 271.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.007159, allocations: 35.11 kB / 271.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.007178, allocations: 4 kB / 271.8 MB, free: 2.562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.007196, allocations: 33.39 kB / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.007196, allocations: 0 / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001258/0.007322, allocations: 69.45 kB / 271.9 MB, free: 2.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.007367, allocations: 110.8 kB / 272.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.007446, allocations: 185.9 kB / 272.2 MB, free: 2.113 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.007456, allocations: 33.69 kB / 272.3 MB, free: 2.074 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.007498, allocations: 135.2 kB / 272.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.007511, allocations: 11.89 kB / 272.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.007536, allocations: 27.31 kB / 272.4 MB, free: 1.891 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.007637, allocations: 0.4884 MB / 272.9 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-06/0.007643, allocations: 0 / 272.9 MB, free: 1.391 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-06/0.00765, allocations: 4 kB / 272.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.983e-05/0.00767, allocations: 7.688 kB / 272.9 MB, free: 1.375 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007672, allocations: 7.938 kB / 273 MB, free: 1.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.565e-05/0.007717, allocations: 37.66 kB / 273 MB, free: 1.324 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.007731, allocations: 7.938 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007737, allocations: 8.078 kB / 273 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.689e-06/0.007746, allocations: 3.984 kB / 273 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.007804, allocations: 4 kB / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.007806, allocations: 0 / 273 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.007821, allocations: 4 kB / 273 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.007825, allocations: 0 / 273 MB, free: 1.297 MB / 250.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.535e-05/0.00788, allocations: 152.6 kB / 273.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.007926, allocations: 53.58 kB / 273.2 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.007957, allocations: 15.91 kB / 273.2 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007959, allocations: 4.062 kB / 273.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.007961, allocations: 4 kB / 273.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007964, allocations: 0 / 273.2 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.817e-05/0.008052, allocations: 105.2 kB / 273.3 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008053, allocations: 0 / 273.3 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.008085, allocations: 11.98 kB / 273.4 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.008087, allocations: 0 / 273.4 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.008091, allocations: 4 kB / 273.4 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.008092, allocations: 0 / 273.4 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.008094, allocations: 7.875 kB / 273.4 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.399e-05/0.008178, allocations: 211.3 kB / 273.6 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.008201, allocations: 7.953 kB / 273.6 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.008211, allocations: 11.98 kB / 273.6 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-05/0.008244, allocations: 0 / 273.6 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.008263, allocations: 7.938 kB / 273.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.008266, allocations: 0 / 273.6 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.008309, allocations: 146.2 kB / 273.7 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00831, allocations: 0 / 273.7 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001279/0.008437, allocations: 8 kB / 273.7 MB, free: 500 kB / 250.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 6.91e-05/0.008507, allocations: 103.2 kB / 273.9 MB, free: 388 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.226e-05/0.008559, allocations: 19.62 kB / 273.9 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.00856, allocations: 0 / 273.9 MB, free: 364 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.008571, allocations: 7.688 kB / 273.9 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.008794, allocations: 28.73 kB / 273.9 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.009175, allocations: 192.4 kB / 274.1 MB, free: 92 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.33e-05/0.009218, allocations: 67.66 kB / 274.2 MB, free: 4 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.186e-05/0.00924, allocations: 0 / 274.2 MB, free: 4 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.009313, allocations: 78.2 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.009313, allocations: 0 / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Templates: time 0.001997/0.01131, allocations: 0.6855 MB / 274.9 MB, free: 15.26 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",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.6201803339645267]