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.001414/0.001414, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001471/0.001471, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 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.632/1.632, allocations: 230.5 MB / 258.1 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002774/0.002774, allocations: 63.89 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3348, allocations: 53.42 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003868/0.3386, allocations: 1.879 MB / 434.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.341, allocations: 1.134 MB / 435.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.3412, allocations: 11.88 kB / 435.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007317/0.3419, allocations: 147.5 kB / 435.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.3424, allocations: 163.4 kB / 435.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.3429, allocations: 174.9 kB / 435.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.3431, allocations: 191.5 kB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3433, allocations: 29.47 kB / 436.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3434, allocations: 71.66 kB / 436.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3435, allocations: 75.67 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.3436, allocations: 8 kB / 436.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3437, allocations: 63.89 kB / 436.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.3438, allocations: 47.84 kB / 436.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.404e-05/0.3439, allocations: 55.59 kB / 436.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.3443, allocations: 210 kB / 436.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3443, allocations: 3.938 kB / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3443, allocations: 0 / 436.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3443, allocations: 0 / 436.6 MB, free: 2.273 MB / 334.1 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.001041/0.3453, allocations: 458.7 kB / 437.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.3454, allocations: 11.98 kB / 437.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.3454, allocations: 20.8 kB / 437.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.3459, allocations: 217.1 kB / 437.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3459, allocations: 4.375 kB / 437.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3459, allocations: 8.375 kB / 437.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.3463, allocations: 138.2 kB / 437.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3463, allocations: 4 kB / 437.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.3463, allocations: 3.984 kB / 437.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3463, allocations: 0 / 437.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.3465, allocations: 43.92 kB / 437.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.347, allocations: 298.1 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.3472, allocations: 103.9 kB / 437.9 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.311e-05/0.3473, allocations: 42.56 kB / 438 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3474, allocations: 4 kB / 438 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.3475, allocations: 71.41 kB / 438 MB, free: 0.707 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3475, allocations: 0 / 438 MB, free: 0.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003982/0.3479, allocations: 157.4 kB / 438.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.348, allocations: 110.8 kB / 438.3 MB, free: 424 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.3484, allocations: 273 kB / 438.6 MB, free: 144 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.3484, allocations: 29.7 kB / 438.6 MB, free: 108 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.3485, allocations: 120.1 kB / 438.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.3486, allocations: 19.89 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.3486, allocations: 33.59 kB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.3489, allocations: 334.8 kB / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/0.3489, allocations: 28.23 kB / 439.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.3491, allocations: 94.72 kB / 439.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3492, allocations: 80.47 kB / 439.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3492, allocations: 0 / 439.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002249/0.3494, allocations: 121.5 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3495, allocations: 8.156 kB / 439.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3495, allocations: 4 kB / 439.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3495, allocations: 0 / 439.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.3496, allocations: 15.98 kB / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3496, allocations: 0 / 439.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.3496, allocations: 7.953 kB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3497, allocations: 4 kB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001512/0.3498, allocations: 150.4 kB / 439.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.64e-05/0.3499, allocations: 65.53 kB / 439.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.3502, allocations: 119.4 kB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3502, allocations: 4 kB / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3502, allocations: 0 / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3502, allocations: 0 / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.3504, allocations: 173.1 kB / 439.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3504, allocations: 0 / 439.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.3504, allocations: 4 kB / 439.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.3504, allocations: 7.984 kB / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3504, allocations: 0 / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3504, allocations: 7.938 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3504, allocations: 4 kB / 440 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.3507, allocations: 162.6 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.179e-05/0.3508, allocations: 31.83 kB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3508, allocations: 7.938 kB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.375e-05/0.3509, allocations: 12.06 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.3509, allocations: 3.984 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.3509, allocations: 4 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.3511, allocations: 204.5 kB / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3511, allocations: 0 / 440.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3514, allocations: 27.94 kB / 440.4 MB, free: 14.14 MB / 350.1 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.001689/0.3531, allocations: 439.3 kB / 440.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3533, allocations: 75.83 kB / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3533, allocations: 0 / 440.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.3534, allocations: 23.98 kB / 440.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.3538, allocations: 83 kB / 441 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.3545, allocations: 355.8 kB / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3546, allocations: 115.3 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.3547, allocations: 23.44 kB / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3547, allocations: 0 / 441.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Templates: time 0.005284/0.36, allocations: 2.693 MB / 444.2 MB, free: 10.45 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.584099809639156]