Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3494, allocations: 53.36 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003483/0.3529, allocations: 1.892 MB / 434.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.355, allocations: 1.157 MB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3551, allocations: 7.938 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006048/0.3557, allocations: 151.5 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003938/0.3561, allocations: 155.4 kB / 435.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.3565, allocations: 178.7 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.3568, allocations: 191.5 kB / 436 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3569, allocations: 21.53 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.357, allocations: 87.56 kB / 436.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.3572, allocations: 79.67 kB / 436.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.3572, allocations: 8 kB / 436.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.3573, allocations: 51.97 kB / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.54e-05/0.3574, allocations: 51.77 kB / 436.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.3575, allocations: 51.61 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.3578, allocations: 218 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3578, allocations: 4 kB / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3578, allocations: 0 / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3578, allocations: 0 / 436.6 MB, free: 2.395 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.0007638/0.3586, allocations: 454.7 kB / 437 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3586, allocations: 8.031 kB / 437.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.3587, allocations: 20.8 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.3591, allocations: 205.2 kB / 437.3 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.3591, allocations: 4.375 kB / 437.3 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.3592, allocations: 16.12 kB / 437.3 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.3595, allocations: 141.9 kB / 437.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.3596, allocations: 3.938 kB / 437.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.3596, allocations: 3.938 kB / 437.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3596, allocations: 0 / 437.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.3597, allocations: 35.98 kB / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.3602, allocations: 306 kB / 437.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3604, allocations: 107.9 kB / 437.9 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.129e-05/0.3605, allocations: 42.56 kB / 437.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3605, allocations: 4 kB / 437.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.3607, allocations: 75.31 kB / 438 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3607, allocations: 0 / 438 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003868/0.3611, allocations: 149.5 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.3611, allocations: 111.1 kB / 438.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.3615, allocations: 277 kB / 438.5 MB, free: 272 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3615, allocations: 29.7 kB / 438.6 MB, free: 236 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.3616, allocations: 116.1 kB / 438.7 MB, free: 116 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.3616, allocations: 15.91 kB / 438.7 MB, free: 100 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.3616, allocations: 33.66 kB / 438.7 MB, free: 60 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3618, allocations: 334.7 kB / 439 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.3619, allocations: 23.98 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.362, allocations: 90.78 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.3622, allocations: 84.5 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3622, allocations: 0 / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002269/0.3624, allocations: 121.5 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3624, allocations: 7.984 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.3624, allocations: 4 kB / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3624, allocations: 0 / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.185e-05/0.3625, allocations: 16.12 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3625, allocations: 0 / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.3626, allocations: 11.94 kB / 439.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3626, allocations: 4 kB / 439.4 MB, free: 15.32 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,shiftSample1.y,shiftSample1.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.0001348/0.3627, allocations: 158.3 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3628, allocations: 57.61 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.3631, allocations: 119.3 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3631, allocations: 0 / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3631, allocations: 64 / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3631, allocations: 11.98 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3633, allocations: 169.2 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3633, allocations: 0 / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.3633, allocations: 8 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3633, allocations: 0 / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.3633, allocations: 0 / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3633, allocations: 4 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3633, allocations: 0 / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.3636, allocations: 166.6 kB / 440.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.3637, allocations: 31.91 kB / 440.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.3637, allocations: 8 kB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.3638, allocations: 11.98 kB / 440.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.3638, allocations: 7.938 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3638, allocations: 7.984 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002158/0.3641, allocations: 200.5 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3641, allocations: 0 / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3643, allocations: 31.94 kB / 440.4 MB, free: 14.27 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,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.001634/0.366, allocations: 447 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000238/0.3662, allocations: 79.84 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3662, allocations: 0 / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.3663, allocations: 31.92 kB / 440.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.3667, allocations: 68.27 kB / 441 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005869/0.3673, allocations: 321.6 kB / 441.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.3674, allocations: 127.9 kB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.161e-05/0.3675, allocations: 21.62 kB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.3675, allocations: 15.44 kB / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3675, allocations: 0 / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Templates: time 0.00692/0.3744, allocations: 2.742 MB / 444.2 MB, free: 10.61 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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: 4.396366954999394]