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.001599/0.001599, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001842/0.001842, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 1.018/1.018, allocations: 173.3 MB / 201.1 MB, free: 9.348 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 2.044e-06/2.044e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.649e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.006162/0.006199, allocations: 1.619 MB / 269.6 MB, free: 4.805 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.01021, allocations: 474.6 kB / 270.1 MB, free: 4.336 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.01031, allocations: 7.938 kB / 270.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.96e-05/0.01037, allocations: 3.938 kB / 270.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.01053, allocations: 15.86 kB / 270.1 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.01081, allocations: 47.83 kB / 270.2 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.01092, allocations: 47.8 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.01103, allocations: 20.09 kB / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.931e-05/0.01113, allocations: 27.91 kB / 270.3 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.01118, allocations: 11.98 kB / 270.3 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.0112, allocations: 4 kB / 270.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.087e-05/0.01121, allocations: 0 / 270.3 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.01126, allocations: 15.92 kB / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.01129, allocations: 15.94 kB / 270.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.01143, allocations: 43.83 kB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.01143, allocations: 0 / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01143, allocations: 0 / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.01144, allocations: 0 / 270.3 MB, free: 4.078 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.0004864/0.01193, allocations: 400.3 kB / 270.7 MB, free: 3.652 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.01197, allocations: 8.922 kB / 270.7 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.01202, allocations: 20.77 kB / 270.8 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.01224, allocations: 152.4 kB / 270.9 MB, free: 3.449 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.01225, allocations: 4.375 kB / 270.9 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.01227, allocations: 12.36 kB / 270.9 MB, free: 3.434 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003318/0.01558, allocations: 121.3 kB / 271.1 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.01559, allocations: 192 / 271.1 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.01561, allocations: 8.125 kB / 271.1 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01562, allocations: 0 / 271.1 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.524e-05/0.01567, allocations: 11.92 kB / 271.1 MB, free: 3.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.01599, allocations: 275.2 kB / 271.3 MB, free: 2.953 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.363e-05/0.01608, allocations: 93.25 kB / 271.4 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.01613, allocations: 35.11 kB / 271.5 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.01615, allocations: 4 kB / 271.5 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.01618, allocations: 41.27 kB / 271.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.01618, allocations: 0 / 271.5 MB, free: 2.723 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002127/0.0164, allocations: 61.58 kB / 271.6 MB, free: 2.656 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.01647, allocations: 114.8 kB / 271.7 MB, free: 2.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.0166, allocations: 198.3 kB / 271.9 MB, free: 2.309 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.01661, allocations: 29.7 kB / 271.9 MB, free: 2.273 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.01666, allocations: 130.9 kB / 272 MB, free: 2.141 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.01668, allocations: 11.89 kB / 272 MB, free: 2.129 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.01672, allocations: 23.36 kB / 272.1 MB, free: 2.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.01691, allocations: 496.1 kB / 272.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.01693, allocations: 0 / 272.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-06/0.01694, allocations: 0 / 272.6 MB, free: 1.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.01697, allocations: 11.69 kB / 272.6 MB, free: 1.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.01697, allocations: 0 / 272.6 MB, free: 1.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.998e-05/0.01704, allocations: 53.64 kB / 272.6 MB, free: 1.527 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.01706, allocations: 7.938 kB / 272.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01706, allocations: 0 / 272.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.01708, allocations: 3.938 kB / 272.6 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.01716, allocations: 4 kB / 272.6 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.01717, allocations: 0 / 272.6 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.01719, allocations: 0 / 272.6 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.0172, allocations: 4 kB / 272.6 MB, free: 1.508 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 7.024e-05/0.01727, allocations: 160.6 kB / 272.8 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.01733, allocations: 57.56 kB / 272.8 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.01737, allocations: 15.95 kB / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01737, allocations: 0 / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01738, allocations: 0 / 272.9 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01738, allocations: 4 kB / 272.9 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.01752, allocations: 124.6 kB / 273 MB, free: 1.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01753, allocations: 4 kB / 273 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.838e-05/0.01758, allocations: 7.984 kB / 273 MB, free: 1.086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.01759, allocations: 4 kB / 273 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.0176, allocations: 3.938 kB / 273 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.0176, allocations: 0 / 273 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.0176, allocations: 4.062 kB / 273 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.01775, allocations: 219.2 kB / 273.2 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.01779, allocations: 19.94 kB / 273.2 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.01781, allocations: 3.938 kB / 273.3 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.01787, allocations: 4 kB / 273.3 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.0179, allocations: 3.984 kB / 273.3 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.01791, allocations: 0 / 273.3 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.826e-05/0.01797, allocations: 150.3 kB / 273.4 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01797, allocations: 0 / 273.4 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.01821, allocations: 4 kB / 273.4 MB, free: 0.6523 MB / 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 0.003127/0.02134, allocations: 99.25 kB / 273.5 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001189/0.02146, allocations: 27.64 kB / 273.5 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.02146, allocations: 4 kB / 273.5 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.02147, allocations: 7.688 kB / 273.5 MB, free: 0.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.02182, allocations: 20.86 kB / 273.6 MB, free: 488 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.02237, allocations: 196.6 kB / 273.8 MB, free: 256 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.455e-05/0.02241, allocations: 63.34 kB / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.577e-05/0.02244, allocations: 0 / 273.8 MB, free: 172 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.02247, allocations: 20.48 kB / 273.8 MB, free: 152 kB / 250.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02247, allocations: 3.938 kB / 273.8 MB, free: 148 kB / 250.7 MB Notification: Performance of Templates: time 0.005877/0.02835, allocations: 0.6585 MB / 274.5 MB, free: 15.5 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.6357811829075217]