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.0007602/0.0007602, allocations: 84 kB / 21.43 MB, free: 3.129 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.003309/0.003309, allocations: 149.4 kB / 24.68 MB, free: 9.422 MB / 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.8217/0.8217, allocations: 173.4 MB / 201.2 MB, free: 9.434 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.784e-06/1.784e-06, allocations: 0 / 319.7 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.743e-05, allocations: 5.656 kB / 319.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002341/0.002358, allocations: 1.859 MB / 321.5 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.003431, allocations: 1.009 MB / 322.5 MB, free: 2.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.003526, allocations: 7.938 kB / 322.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.003988, allocations: 159.4 kB / 322.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.004185, allocations: 123.4 kB / 322.8 MB, free: 2.555 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.00448, allocations: 194.1 kB / 323 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.004655, allocations: 187.4 kB / 323.2 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.899e-05/0.004744, allocations: 29.77 kB / 323.2 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.004845, allocations: 103.7 kB / 323.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.266e-05/0.004928, allocations: 59.86 kB / 323.4 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.004947, allocations: 8 kB / 323.4 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-05/0.005039, allocations: 63.84 kB / 323.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.005092, allocations: 47.83 kB / 323.5 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.005135, allocations: 35.86 kB / 323.5 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.005347, allocations: 199.4 kB / 323.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00535, allocations: 0 / 323.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.729e-06/0.005354, allocations: 0 / 323.7 MB, free: 1.645 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.005359, allocations: 3.938 kB / 323.7 MB, free: 1.641 MB / 282.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.0004977/0.005856, allocations: 454.7 kB / 324.2 MB, free: 1.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.005886, allocations: 8.031 kB / 324.2 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.005928, allocations: 16.84 kB / 324.2 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.006149, allocations: 212.8 kB / 324.4 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.006163, allocations: 8.312 kB / 324.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.006174, allocations: 8.375 kB / 324.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.006401, allocations: 138.4 kB / 324.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.006411, allocations: 3.938 kB / 324.6 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.006422, allocations: 7.984 kB / 324.6 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006427, allocations: 0 / 324.6 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/0.006491, allocations: 35.98 kB / 324.6 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.006787, allocations: 290.1 kB / 324.9 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.00692, allocations: 111.8 kB / 325 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.006966, allocations: 46.56 kB / 325.1 MB, free: 172 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.006984, allocations: 4 kB / 325.1 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.007089, allocations: 75.33 kB / 325.1 MB, free: 80 kB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.00709, allocations: 0 / 325.1 MB, free: 80 kB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002544/0.007345, allocations: 137.7 kB / 325.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.007395, allocations: 114.8 kB / 325.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.007563, allocations: 269.6 kB / 325.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.007576, allocations: 29.95 kB / 325.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.00763, allocations: 116.1 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.007648, allocations: 19.84 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.007678, allocations: 25.7 kB / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.007751, allocations: 326.8 kB / 326.1 MB, free: 15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.007784, allocations: 19.98 kB / 326.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.007833, allocations: 72.27 kB / 326.2 MB, free: 14.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.103e-05/0.007894, allocations: 57.7 kB / 326.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.007896, allocations: 3.938 kB / 326.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.808e-05/0.007994, allocations: 97.56 kB / 326.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.008005, allocations: 8 kB / 326.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.008008, allocations: 0 / 326.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.008018, allocations: 0 / 326.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.805e-05/0.008066, allocations: 11.98 kB / 326.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.008071, allocations: 4.156 kB / 326.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.0081, allocations: 3.953 kB / 326.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.008107, allocations: 4 kB / 326.4 MB, free: 14.7 MB / 298.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.311e-05/0.00818, allocations: 145.7 kB / 326.6 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.008225, allocations: 65.56 kB / 326.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.008363, allocations: 119.4 kB / 326.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.008366, allocations: 3.984 kB / 326.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.008369, allocations: 4 kB / 326.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.008372, allocations: 0 / 326.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.008475, allocations: 169.2 kB / 326.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.008476, allocations: 0 / 326.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.756e-05/0.008494, allocations: 8 kB / 326.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008496, allocations: 0 / 326.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.008505, allocations: 7.984 kB / 326.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008506, allocations: 8.062 kB / 326.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008507, allocations: 0 / 326.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.008633, allocations: 158.6 kB / 327.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.008675, allocations: 35.77 kB / 327.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.008693, allocations: 11.94 kB / 327.1 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.87e-05/0.008721, allocations: 4 kB / 327.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.008751, allocations: 4.047 kB / 327.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.00876, allocations: 8 kB / 327.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.008873, allocations: 197.2 kB / 327.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008873, allocations: 0 / 327.4 MB, free: 13.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.009022, allocations: 32 kB / 327.4 MB, free: 13.66 MB / 298.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.000641/0.009663, allocations: 452 kB / 327.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.01004, allocations: 63.91 kB / 327.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01004, allocations: 0 / 327.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.01008, allocations: 20 kB / 327.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01032, allocations: 81.08 kB / 328 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.01067, allocations: 342.8 kB / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.702e-05/0.01074, allocations: 115.4 kB / 328.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.01077, allocations: 20.5 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01077, allocations: 0 / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of Templates: time 0.002786/0.01356, allocations: 2.654 MB / 331.1 MB, free: 10.07 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.278467012569308]