Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000969/0.000969, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 159.8 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9791/0.9791, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.39e-05/1.504e-05, allocations: 5.266 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002909/0.002924, allocations: 1.991 MB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.004486, allocations: 1.176 MB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.444e-05/0.00458, allocations: 7.938 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004663/0.005046, allocations: 151.4 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.005322, allocations: 163.2 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.005662, allocations: 171.3 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.005883, allocations: 191.4 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.596e-05/0.005959, allocations: 18.45 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.00609, allocations: 107.7 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.006187, allocations: 63.8 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.006207, allocations: 16 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.006332, allocations: 59.89 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.006387, allocations: 43.84 kB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.497e-05/0.006432, allocations: 35.86 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.006642, allocations: 163.3 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.006643, allocations: 0 / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006644, allocations: 0 / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.006647, allocations: 0 / 277.8 MB, free: 12.66 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004148/0.007062, allocations: 425.3 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.00709, allocations: 15.98 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.007125, allocations: 12.92 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.007344, allocations: 209.6 kB / 278.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.00736, allocations: 8.375 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.00737, allocations: 4.375 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.007548, allocations: 129.1 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.007557, allocations: 8.125 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.007565, allocations: 4.359 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.007571, allocations: 11.94 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.594e-05/0.007607, allocations: 18.8 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.00785, allocations: 199.6 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.007961, allocations: 134.5 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.007992, allocations: 26.56 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.008005, allocations: 4 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.524e-05/0.00809, allocations: 74.14 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.008091, allocations: 0 / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001374/0.008228, allocations: 85.53 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.008272, allocations: 106.8 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.008434, allocations: 230.7 kB / 279.4 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.008692, allocations: 25.7 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.008742, allocations: 108.5 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.008762, allocations: 19.89 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.0088, allocations: 29.89 kB / 279.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.00888, allocations: 330.8 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.008897, allocations: 10.81 kB / 279.9 MB, free: 10.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.008935, allocations: 56.2 kB / 280 MB, free: 10.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.00898, allocations: 35.36 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.008982, allocations: 0 / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.433e-05/0.009066, allocations: 68.44 kB / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.009079, allocations: 7.938 kB / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.009083, allocations: 0 / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.009092, allocations: 0 / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/0.009145, allocations: 20.05 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.009147, allocations: 0 / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.009184, allocations: 8.266 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.009188, allocations: 0 / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.768e-05/0.009256, allocations: 124.7 kB / 280.2 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.009304, allocations: 53.56 kB / 280.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.828e-05/0.009402, allocations: 79.53 kB / 280.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009405, allocations: 0 / 280.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.009406, allocations: 0 / 280.4 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.009412, allocations: 12.05 kB / 280.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.009513, allocations: 101.8 kB / 280.5 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.009516, allocations: 4 kB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.009537, allocations: 4 kB / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.009539, allocations: 0 / 280.5 MB, free: 9.621 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.009553, allocations: 11.98 kB / 280.5 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.009555, allocations: 3.938 kB / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.009556, allocations: 80 / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.653e-05/0.009643, allocations: 108.4 kB / 280.6 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.009688, allocations: 31.84 kB / 280.7 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.009705, allocations: 4 kB / 280.7 MB, free: 9.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.009744, allocations: 11.94 kB / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.364e-05/0.009768, allocations: 7.984 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.009776, allocations: 0 / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.018e-05/0.009857, allocations: 81.61 kB / 280.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009857, allocations: 0 / 280.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001865/0.01004, allocations: 35.92 kB / 280.8 MB, free: 9.301 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001179/0.01122, allocations: 0.4901 MB / 281.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.55e-05/0.01131, allocations: 40.78 kB / 281.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.01131, allocations: 4 kB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.01135, allocations: 28.77 kB / 281.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.01155, allocations: 75.72 kB / 281.4 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.01191, allocations: 300.2 kB / 281.7 MB, free: 8.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.01195, allocations: 75.83 kB / 281.8 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.215e-05/0.012, allocations: 25.88 kB / 281.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.01209, allocations: 87.27 kB / 281.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01209, allocations: 0 / 281.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of Templates: time 0.004759/0.01685, allocations: 2.773 MB / 284.7 MB, free: 5.578 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.5809588548727334]