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.001527/0.001527, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001592/0.001592, allocations: 163.4 kB / 25.61 MB, free: 8.879 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 1.042/1.042, allocations: 177 MB / 205.9 MB, free: 4.461 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.012e-06/1.012e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.858e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002522/0.00254, allocations: 1.935 MB / 276 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.003997, allocations: 1.155 MB / 277.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.004103, allocations: 7.938 kB / 277.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.004559, allocations: 156.4 kB / 277.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.004822, allocations: 164.9 kB / 277.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.005158, allocations: 172.2 kB / 277.7 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.005356, allocations: 191.4 kB / 277.9 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.005451, allocations: 21.8 kB / 277.9 MB, free: 496 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.005571, allocations: 104.5 kB / 278 MB, free: 392 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.112e-05/0.005662, allocations: 63.8 kB / 278.1 MB, free: 328 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.005681, allocations: 13.5 kB / 278.1 MB, free: 316 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.005787, allocations: 55.89 kB / 278.1 MB, free: 260 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.003e-05/0.005847, allocations: 47.83 kB / 278.2 MB, free: 212 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.005892, allocations: 39.86 kB / 278.2 MB, free: 172 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.006104, allocations: 160.1 kB / 278.4 MB, free: 12 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006107, allocations: 0 / 278.4 MB, free: 12 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.006108, allocations: 8 kB / 278.4 MB, free: 4 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.006112, allocations: 0 / 278.4 MB, free: 4 kB / 250.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.0004627/0.006575, allocations: 0.54 MB / 278.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.006605, allocations: 12.03 kB / 278.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.006646, allocations: 24.8 kB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.006845, allocations: 220.3 kB / 279.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.006861, allocations: 12.36 kB / 279.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.006871, allocations: 4.375 kB / 279.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.007033, allocations: 132.6 kB / 279.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.00704, allocations: 192 / 279.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.007049, allocations: 4.375 kB / 279.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.007054, allocations: 3.938 kB / 279.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.365e-05/0.007087, allocations: 27.92 kB / 279.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.007645, allocations: 303.7 kB / 279.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.007758, allocations: 113.3 kB / 279.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.007793, allocations: 39 kB / 279.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.007809, allocations: 7.984 kB / 279.8 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.596e-05/0.007895, allocations: 72.97 kB / 279.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.007896, allocations: 0 / 279.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001724/0.008069, allocations: 109.5 kB / 280 MB, free: 14.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.008115, allocations: 111.1 kB / 280.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.008269, allocations: 292.1 kB / 280.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.008283, allocations: 29.7 kB / 280.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.008351, allocations: 166.8 kB / 280.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.008372, allocations: 27.81 kB / 280.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.008405, allocations: 31.33 kB / 280.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.008519, allocations: 0.5001 MB / 281.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.008534, allocations: 4 kB / 281.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.008573, allocations: 64.73 kB / 281.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.941e-05/0.008612, allocations: 39.31 kB / 281.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.008614, allocations: 4.031 kB / 281.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.333e-05/0.008697, allocations: 81.47 kB / 281.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.008708, allocations: 4 kB / 281.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.008712, allocations: 0 / 281.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.361e-06/0.008718, allocations: 4 kB / 281.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.16e-05/0.00877, allocations: 11.98 kB / 281.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.008772, allocations: 0 / 281.3 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.305e-05/0.008805, allocations: 7.984 kB / 281.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.00881, allocations: 4.312 kB / 281.3 MB, free: 12.73 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 7.228e-05/0.008883, allocations: 164.6 kB / 281.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.008935, allocations: 73.45 kB / 281.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.009047, allocations: 95.42 kB / 281.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009049, allocations: 0 / 281.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.009051, allocations: 0 / 281.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.009055, allocations: 7.938 kB / 281.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.009163, allocations: 141.1 kB / 281.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.009166, allocations: 4 kB / 281.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.009187, allocations: 7.984 kB / 281.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.00919, allocations: 0 / 281.8 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/0.009199, allocations: 8.062 kB / 281.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.009202, allocations: 3.938 kB / 281.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009203, allocations: 0 / 281.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.00931, allocations: 143.8 kB / 282 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.009351, allocations: 31.89 kB / 282 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.009369, allocations: 4 kB / 282 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.66e-05/0.009406, allocations: 7.938 kB / 282 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.009432, allocations: 7.984 kB / 282 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.009443, allocations: 11.94 kB / 282 MB, free: 11.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.987e-05/0.009533, allocations: 197.1 kB / 282.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009533, allocations: 4 kB / 282.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000162/0.009695, allocations: 35.88 kB / 282.3 MB, free: 11.71 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.0008015/0.0105, allocations: 385.8 kB / 282.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.694e-05/0.01058, allocations: 47.58 kB / 282.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.01058, allocations: 0 / 282.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.01061, allocations: 27.62 kB / 282.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.01085, allocations: 58.66 kB / 282.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.01119, allocations: 314 kB / 283.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.23e-05/0.01123, allocations: 75.69 kB / 283.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.569e-05/0.01128, allocations: 25.88 kB / 283.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.01136, allocations: 102.2 kB / 283.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01136, allocations: 4 kB / 283.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of Templates: time 0.004783/0.01614, allocations: 2.824 MB / 286.1 MB, free: 7.98 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 -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.816658859141171]