Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008762/0.0008762, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000974/0.000974, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9874/0.9874, allocations: 173.4 MB / 201.1 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.833e-05, allocations: 2.312 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002435/0.002453, allocations: 1.928 MB / 269.9 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.003826, allocations: 1.04 MB / 271 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.003935, allocations: 3.938 kB / 271 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005674/0.004503, allocations: 151.5 kB / 271.1 MB, free: 3.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.004739, allocations: 127.4 kB / 271.2 MB, free: 3.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.005164, allocations: 203.3 kB / 271.4 MB, free: 2.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.005375, allocations: 175.5 kB / 271.6 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.00548, allocations: 17.8 kB / 271.6 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.005599, allocations: 107.7 kB / 271.7 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.005693, allocations: 59.81 kB / 271.8 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.005718, allocations: 12 kB / 271.8 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.005837, allocations: 59.88 kB / 271.9 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.005898, allocations: 47.84 kB / 271.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.005951, allocations: 35.86 kB / 271.9 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.006196, allocations: 155.4 kB / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.006199, allocations: 0 / 272.1 MB, free: 2.293 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0062, allocations: 7.938 kB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.006204, allocations: 0 / 272.1 MB, free: 2.285 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.0005604/0.006765, allocations: 0.5401 MB / 272.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.006808, allocations: 8.031 kB / 272.7 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.006891, allocations: 20.84 kB / 272.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.007217, allocations: 232.3 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.007237, allocations: 4.375 kB / 272.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.007254, allocations: 8.375 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.007509, allocations: 136.6 kB / 273 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.007519, allocations: 7.875 kB / 273.1 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.007531, allocations: 4 kB / 273.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.007539, allocations: 0 / 273.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.007587, allocations: 19.98 kB / 273.1 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.007957, allocations: 351 kB / 273.4 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.008091, allocations: 113.3 kB / 273.5 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.00814, allocations: 43.05 kB / 273.6 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.008159, allocations: 0 / 273.6 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.008261, allocations: 76.98 kB / 273.6 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.008262, allocations: 0 / 273.6 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002303/0.008493, allocations: 113.5 kB / 273.8 MB, free: 428 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.008542, allocations: 106.8 kB / 273.9 MB, free: 296 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.008731, allocations: 288.5 kB / 274.1 MB, free: 15.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.008745, allocations: 29.7 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.00881, allocations: 158.9 kB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.008832, allocations: 23.83 kB / 274.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.008869, allocations: 35.31 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.008989, allocations: 0.4962 MB / 274.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.009014, allocations: 11.98 kB / 274.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.009058, allocations: 68.81 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.9e-05/0.009107, allocations: 43.56 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.009109, allocations: 0 / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.255e-05/0.009202, allocations: 85.52 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.009214, allocations: 8 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.009219, allocations: 3.938 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.009232, allocations: 0 / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.009298, allocations: 15.98 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.009304, allocations: 4 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.009336, allocations: 4 kB / 275.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.009341, allocations: 0 / 275.1 MB, free: 14.95 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.93e-05/0.00942, allocations: 170.1 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.00947, allocations: 65.62 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.009601, allocations: 103.4 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.009603, allocations: 0 / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.009608, allocations: 0 / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.009612, allocations: 4 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.009733, allocations: 172.5 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.009734, allocations: 0 / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.009754, allocations: 7.984 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.009755, allocations: 0 / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.009763, allocations: 4 kB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.009764, allocations: 4.062 kB / 275.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.009767, allocations: 7.938 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.009901, allocations: 159.6 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.009947, allocations: 35.84 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.009968, allocations: 7.984 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.01, allocations: 8 kB / 275.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.01003, allocations: 7.984 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.01005, allocations: 4 kB / 275.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.01015, allocations: 201.1 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01015, allocations: 0 / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001658/0.01032, allocations: 28 kB / 276.1 MB, free: 13.89 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.0008039/0.01112, allocations: 398.7 kB / 276.5 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.01124, allocations: 51.55 kB / 276.5 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01124, allocations: 4 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.01128, allocations: 27.66 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.01154, allocations: 75.52 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.01196, allocations: 297.6 kB / 276.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.012, allocations: 71.83 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.289e-05/0.01206, allocations: 25.72 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.0121, allocations: 24.48 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0121, allocations: 0 / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of Templates: time 0.004301/0.0164, allocations: 2.588 MB / 279.6 MB, free: 10.46 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.0717193949967623]