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.001535/0.001535, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001448/0.001448, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.102 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 1.653e-06/1.653e-06, allocations: 0 / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.056e-05, allocations: 2.312 kB / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.002581/0.002601, allocations: 1.692 MB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.003371, allocations: 0.5413 MB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.003449, allocations: 4 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.43e-05/0.003493, allocations: 7.875 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.003623, allocations: 3.938 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.003881, allocations: 67.67 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.824e-05/0.003979, allocations: 47.84 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.004057, allocations: 12.12 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.004173, allocations: 39.83 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.613e-05/0.004219, allocations: 15.92 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.004232, allocations: 4 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.706e-05/0.004279, allocations: 8 kB / 275.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.004315, allocations: 23.91 kB / 276 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.004332, allocations: 11.94 kB / 276 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.004436, allocations: 43.83 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.004438, allocations: 0 / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004439, allocations: 0 / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.004443, allocations: 0 / 276 MB, free: 14.59 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.0002874/0.00473, allocations: 284.5 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.004759, allocations: 8.031 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.458e-05/0.004853, allocations: 16.92 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.005003, allocations: 150.1 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.005015, allocations: 8.359 kB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.005022, allocations: 8.375 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.005166, allocations: 114.9 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.005172, allocations: 0 / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.78e-06/0.005178, allocations: 0 / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.005183, allocations: 4 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.778e-05/0.0052, allocations: 15.92 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.005365, allocations: 158 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.356e-05/0.005419, allocations: 55.8 kB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.005439, allocations: 22.64 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.005454, allocations: 4 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.00549, allocations: 38.44 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.005491, allocations: 0 / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001078/0.005599, allocations: 57.61 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.005651, allocations: 110.8 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.005725, allocations: 145.8 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.005734, allocations: 25.7 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.005795, allocations: 84.12 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.00581, allocations: 7.953 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.005834, allocations: 13.72 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.0059, allocations: 318.8 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.005908, allocations: 4.359 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.005914, allocations: 4 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.005933, allocations: 8.859 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005935, allocations: 0 / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.849e-05/0.005973, allocations: 37.64 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.005985, allocations: 7.984 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005989, allocations: 3.938 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.005998, allocations: 0 / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.006046, allocations: 4 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.006048, allocations: 96 / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.006063, allocations: 4 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.006069, allocations: 4 kB / 277.7 MB, free: 12.69 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.567e-05/0.006125, allocations: 112.7 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/0.006166, allocations: 49.5 kB / 277.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.006189, allocations: 15.95 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006191, allocations: 0 / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006192, allocations: 4 kB / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.006195, allocations: 0 / 277.9 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.205e-05/0.006277, allocations: 73.88 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006278, allocations: 4.062 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.006302, allocations: 8 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.006305, allocations: 3.938 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.006313, allocations: 11.98 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.006314, allocations: 0 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.006315, allocations: 0 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.63e-05/0.006382, allocations: 145.2 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.006406, allocations: 15.89 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.006416, allocations: 7.938 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.179e-05/0.006448, allocations: 4 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.006471, allocations: 12.02 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006474, allocations: 0 / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.307e-05/0.006497, allocations: 24.84 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006497, allocations: 0 / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001149/0.006612, allocations: 7.938 kB / 278.2 MB, free: 12.14 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 6.113e-05/0.006673, allocations: 76.42 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.039e-05/0.006723, allocations: 24.77 kB / 278.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.006727, allocations: 4 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.167e-06/0.006736, allocations: 8.922 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.006912, allocations: 24.8 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.007268, allocations: 187.8 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.281e-05/0.007301, allocations: 59.34 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.11e-05/0.007322, allocations: 7.984 kB / 278.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.007369, allocations: 55.61 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.00737, allocations: 4 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of Templates: time 0.002165/0.009535, allocations: 0.6687 MB / 279.3 MB, free: 10.97 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 -s gbode -gbm=radauIIA3 -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: 2.665168035775423]