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.001/0.001, allocations: 85.91 kB / 22.21 MB, free: 2.285 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.001016/0.001016, allocations: 156.9 kB / 25.61 MB, free: 8.891 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.9807/0.9807, 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.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.423e-06/1.423e-06, allocations: 0 / 274.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.749e-05, allocations: 2.312 kB / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002357/0.002374, allocations: 1.939 MB / 276.1 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.003849, allocations: 1.171 MB / 277.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.003955, allocations: 7.938 kB / 277.2 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.004433, allocations: 160.3 kB / 277.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.004704, allocations: 157 kB / 277.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.00504, allocations: 176.2 kB / 277.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.005231, allocations: 191.4 kB / 277.9 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.664e-05/0.005318, allocations: 21.8 kB / 277.9 MB, free: 492 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.005428, allocations: 108.4 kB / 278 MB, free: 384 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.547e-05/0.005514, allocations: 59.81 kB / 278.1 MB, free: 324 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.005531, allocations: 9.531 kB / 278.1 MB, free: 316 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.00565, allocations: 63.88 kB / 278.2 MB, free: 252 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.005704, allocations: 43.8 kB / 278.2 MB, free: 208 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.005746, allocations: 43.84 kB / 278.2 MB, free: 164 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.00593, allocations: 160.1 kB / 278.4 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005932, allocations: 4 kB / 278.4 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005933, allocations: 4.047 kB / 278.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.005937, allocations: 0 / 278.4 MB, free: 15.99 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.0004497/0.006387, allocations: 0.5322 MB / 278.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.991e-05/0.006417, allocations: 12.03 kB / 279 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.006461, allocations: 28.78 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.006682, allocations: 224.3 kB / 279.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.006698, allocations: 8.375 kB / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.006708, allocations: 4.375 kB / 279.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.006875, allocations: 132.6 kB / 279.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.006883, allocations: 192 / 279.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.00689, allocations: 4.375 kB / 279.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006895, allocations: 3.938 kB / 279.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.726e-05/0.006933, allocations: 23.91 kB / 279.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.007225, allocations: 311.7 kB / 279.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.007339, allocations: 109.3 kB / 279.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.007374, allocations: 46.98 kB / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.007388, allocations: 0 / 279.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.481e-05/0.007473, allocations: 72.98 kB / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.007474, allocations: 0 / 279.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001793/0.007654, allocations: 113.4 kB / 280 MB, free: 14.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.007698, allocations: 107.1 kB / 280.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.007855, allocations: 300.1 kB / 280.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.007867, allocations: 29.7 kB / 280.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.007935, allocations: 166.8 kB / 280.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.007953, allocations: 15.91 kB / 280.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.007988, allocations: 39.3 kB / 280.7 MB, free: 13.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.008109, allocations: 0.4962 MB / 281.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.008122, allocations: 4 kB / 281.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.935e-05/0.008161, allocations: 64.73 kB / 281.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.008202, allocations: 43.3 kB / 281.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008204, allocations: 4.031 kB / 281.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.301e-05/0.008287, allocations: 81.47 kB / 281.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.008297, allocations: 4 kB / 281.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.008303, allocations: 4 kB / 281.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.008312, allocations: 0 / 281.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.008362, allocations: 8 kB / 281.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.008364, allocations: 0 / 281.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.008396, allocations: 4 kB / 281.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.008402, allocations: 7.984 kB / 281.4 MB, free: 12.72 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 8.516e-05/0.008487, allocations: 160.6 kB / 281.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.00854, allocations: 77.66 kB / 281.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.008651, allocations: 91.44 kB / 281.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.008653, allocations: 3.938 kB / 281.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.008655, allocations: 4 kB / 281.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.00866, allocations: 4 kB / 281.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.008762, allocations: 149.1 kB / 281.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008763, allocations: 0 / 281.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.614e-05/0.008779, allocations: 4 kB / 281.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.00878, allocations: 0 / 281.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.008786, allocations: 8.062 kB / 281.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.00879, allocations: 3.938 kB / 281.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008792, allocations: 4 kB / 281.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.0089, allocations: 147.8 kB / 282 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.008937, allocations: 27.89 kB / 282 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.008956, allocations: 7.984 kB / 282.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.008986, allocations: 7.938 kB / 282.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.00901, allocations: 7.984 kB / 282.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.009019, allocations: 4 kB / 282.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.408e-05/0.009103, allocations: 197.1 kB / 282.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009103, allocations: 4 kB / 282.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001643/0.009267, allocations: 35.89 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,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.0007621/0.01003, allocations: 380.6 kB / 282.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001117/0.01014, allocations: 47.55 kB / 282.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01014, allocations: 4 kB / 282.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.01018, allocations: 31.59 kB / 282.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01042, allocations: 64.88 kB / 282.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.01076, allocations: 298.1 kB / 283.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.0108, allocations: 83.62 kB / 283.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.01084, allocations: 29.98 kB / 283.2 MB, free: 10.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.01093, allocations: 110.1 kB / 283.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01093, allocations: 0 / 283.3 MB, free: 10.74 MB / 266.7 MB Notification: Performance of Templates: time 0.00436/0.01529, allocations: 2.888 MB / 286.2 MB, free: 7.902 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8278633169829845]