Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001134/0.001134, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001842/0.002976, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001223/0.001223, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002687, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9526/0.9526, allocations: 177.5 MB / 190 MB, free: 4.793 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08936/1.042, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.847e-06/1.009e-05, allocations: 6.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.00205/0.00206, allocations: 1.991 MB / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.003335, allocations: 1.203 MB / 248.4 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.003421, allocations: 11.94 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.003775, allocations: 147.4 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.004004, allocations: 163.2 kB / 248.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.004289, allocations: 179.3 kB / 248.9 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.004463, allocations: 195.4 kB / 249.1 MB, free: 9.664 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.004539, allocations: 22.47 kB / 249.1 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.004685, allocations: 135.6 kB / 249.2 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.792e-05/0.004773, allocations: 67.8 kB / 249.3 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.004791, allocations: 8 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.004902, allocations: 67.81 kB / 249.4 MB, free: 9.371 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.004955, allocations: 35.88 kB / 249.4 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.004991, allocations: 27.88 kB / 249.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.005197, allocations: 155.4 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.287e-05/0.00521, allocations: 0 / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005211, allocations: 4 kB / 249.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.005224, allocations: 0 / 249.6 MB, free: 9.152 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004907/0.005715, allocations: 449 kB / 250 MB, free: 8.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/0.005741, allocations: 8.031 kB / 250 MB, free: 8.676 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/0.00578, allocations: 20.92 kB / 250.1 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.005981, allocations: 209.5 kB / 250.3 MB, free: 8.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.005997, allocations: 4.375 kB / 250.3 MB, free: 8.418 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.006009, allocations: 8.375 kB / 250.3 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.006176, allocations: 129.1 kB / 250.4 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006184, allocations: 192 / 250.4 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.006191, allocations: 4.375 kB / 250.4 MB, free: 8.262 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.006198, allocations: 7.922 kB / 250.4 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.006231, allocations: 30.73 kB / 250.4 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.006456, allocations: 199.6 kB / 250.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.006563, allocations: 134.5 kB / 250.8 MB, free: 7.844 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.006589, allocations: 22.58 kB / 250.8 MB, free: 7.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.006605, allocations: 8 kB / 250.8 MB, free: 7.805 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.977e-05/0.006695, allocations: 70.08 kB / 250.9 MB, free: 7.723 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.006696, allocations: 0 / 250.9 MB, free: 7.723 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001286/0.006825, allocations: 81.59 kB / 251 MB, free: 7.637 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.006868, allocations: 115 kB / 251.1 MB, free: 7.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.007005, allocations: 230.7 kB / 251.3 MB, free: 7.262 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.007021, allocations: 29.7 kB / 251.3 MB, free: 7.227 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.007064, allocations: 104.5 kB / 251.4 MB, free: 7.121 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.007085, allocations: 23.81 kB / 251.4 MB, free: 7.098 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.007118, allocations: 21.72 kB / 251.5 MB, free: 7.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003298/0.007448, allocations: 334.8 kB / 251.8 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.007461, allocations: 6.828 kB / 251.8 MB, free: 6.727 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.007492, allocations: 56.25 kB / 251.9 MB, free: 6.656 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/0.007528, allocations: 39.3 kB / 251.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.00753, allocations: 0 / 251.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.886e-05/0.007589, allocations: 64.53 kB / 252 MB, free: 6.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.007601, allocations: 11.94 kB / 252 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.007604, allocations: 0 / 252 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.007616, allocations: 0 / 252 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.007671, allocations: 15.94 kB / 252 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.007674, allocations: 0 / 252 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.963e-05/0.007704, allocations: 12.3 kB / 252 MB, free: 6.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.007708, allocations: 0 / 252 MB, free: 6.5 MB / 250.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.042e-05/0.007768, allocations: 118.3 kB / 252.1 MB, free: 6.375 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.007804, allocations: 61.59 kB / 252.2 MB, free: 6.309 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.962e-05/0.007894, allocations: 83.38 kB / 252.2 MB, free: 6.223 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007896, allocations: 0 / 252.2 MB, free: 6.223 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.007897, allocations: 0 / 252.2 MB, free: 6.223 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.007902, allocations: 4 kB / 252.3 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.664e-05/0.007988, allocations: 101.8 kB / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.007989, allocations: 0 / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.008011, allocations: 15.92 kB / 252.4 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.008049, allocations: 27.88 kB / 252.4 MB, free: 6.059 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.008051, allocations: 3.938 kB / 252.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.008061, allocations: 12 kB / 252.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.008064, allocations: 4 kB / 252.4 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.008064, allocations: 0 / 252.4 MB, free: 6.039 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.729e-05/0.008142, allocations: 96.48 kB / 252.5 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.00816, allocations: 4 kB / 252.5 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.17e-05/0.008191, allocations: 11.92 kB / 252.5 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.008216, allocations: 4 kB / 252.5 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.008226, allocations: 11.92 kB / 252.5 MB, free: 5.887 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.919e-05/0.008285, allocations: 81.61 kB / 252.6 MB, free: 5.801 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008285, allocations: 4 kB / 252.6 MB, free: 5.797 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000124/0.008409, allocations: 31.89 kB / 252.7 MB, free: 5.766 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.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.001123/0.009532, allocations: 0.548 MB / 253.2 MB, free: 5.441 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.941e-05/0.009622, allocations: 44.77 kB / 253.2 MB, free: 5.395 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.009628, allocations: 0 / 253.2 MB, free: 5.395 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.451e-05/0.009663, allocations: 28.78 kB / 253.3 MB, free: 5.363 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.00993, allocations: 358 kB / 253.6 MB, free: 4.953 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.01038, allocations: 308.1 kB / 253.9 MB, free: 4.617 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.887e-05/0.01042, allocations: 75.83 kB / 254 MB, free: 4.523 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.01046, allocations: 21.42 kB / 254 MB, free: 4.504 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.01053, allocations: 83.34 kB / 254.1 MB, free: 4.422 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01054, allocations: 0 / 254.1 MB, free: 4.422 MB / 250.7 MB Notification: Performance of Templates: time 0.004175/0.01471, allocations: 2.927 MB / 257 MB, free: 1.543 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.57074754498899]