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.0008685/0.0008685, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.0009273/0.0009273, allocations: 165.8 kB / 24.91 MB, free: 8.766 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.9582/0.9582, allocations: 177 MB / 205.2 MB, free: 5.422 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.182e-06/1.182e-06, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.572e-05, allocations: 5.266 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.005645/0.005661, allocations: 1.952 MB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.00719, allocations: 1.187 MB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.143e-05/0.007282, allocations: 11.94 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003503/0.01078, allocations: 151.4 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.0111, allocations: 167.2 kB / 276.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.01145, allocations: 171.3 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.01166, allocations: 195.4 kB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.808e-05/0.01174, allocations: 22.45 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.01187, allocations: 99.72 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.01196, allocations: 63.8 kB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.01198, allocations: 12 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.01208, allocations: 59.83 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.01214, allocations: 51.83 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.01219, allocations: 35.86 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.0124, allocations: 163.3 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.0124, allocations: 0 / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.0124, allocations: 4 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.635e-06/0.01241, allocations: 0 / 277.7 MB, free: 12.86 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.0004404/0.01285, allocations: 421.3 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.01288, allocations: 11.98 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.01291, allocations: 20.92 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.01314, allocations: 209.5 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.01316, allocations: 8.375 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.01317, allocations: 4.375 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.01334, allocations: 125.2 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.01335, allocations: 192 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.01336, allocations: 384 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.01337, allocations: 7.938 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.01641, allocations: 18.75 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.01668, allocations: 203.5 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.01679, allocations: 134.5 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.01683, allocations: 30.5 kB / 278.9 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.01684, allocations: 8 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.585e-05/0.01693, allocations: 74.16 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.01693, allocations: 0 / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.000142/0.01707, allocations: 81.59 kB / 279 MB, free: 11.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.01712, allocations: 114.8 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.01729, allocations: 230.9 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.0173, allocations: 29.7 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.01735, allocations: 104.5 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.01737, allocations: 19.88 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.01741, allocations: 21.72 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.01749, allocations: 330.8 kB / 279.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.01751, allocations: 6.828 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.01755, allocations: 52.27 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/0.0176, allocations: 35.36 kB / 279.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.0176, allocations: 4 kB / 279.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.834e-05/0.01768, allocations: 64.47 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.01769, allocations: 14.75 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.01769, allocations: 0 / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01771, allocations: 7.969 kB / 280 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.01776, allocations: 11.94 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.01776, allocations: 4 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.0178, allocations: 7.953 kB / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.0178, allocations: 4 kB / 280.1 MB, free: 10.23 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 6.978e-05/0.01787, allocations: 120.6 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.01792, allocations: 61.59 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.436e-05/0.01802, allocations: 75.42 kB / 280.3 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.01802, allocations: 4 kB / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.01802, allocations: 0 / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.01803, allocations: 320 / 280.3 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.01813, allocations: 101.8 kB / 280.4 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01813, allocations: 4 kB / 280.4 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.01815, allocations: 7.938 kB / 280.4 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01815, allocations: 7.984 kB / 280.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.01816, allocations: 0 / 280.4 MB, free: 9.816 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01816, allocations: 8 kB / 280.4 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01816, allocations: 7.938 kB / 280.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.826e-05/0.01825, allocations: 108.7 kB / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.0183, allocations: 23.84 kB / 280.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.01832, allocations: 8 kB / 280.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.714e-05/0.01836, allocations: 3.938 kB / 280.6 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.654e-05/0.01838, allocations: 7.984 kB / 280.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.01839, allocations: 4 kB / 280.6 MB, free: 9.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.91e-05/0.01847, allocations: 85.59 kB / 280.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01847, allocations: 0 / 280.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.01866, allocations: 35.88 kB / 280.7 MB, free: 9.5 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.004189/0.02285, allocations: 0.4991 MB / 281.2 MB, free: 9.188 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.351e-05/0.02294, allocations: 40.78 kB / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.02294, allocations: 0 / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.02298, allocations: 20.84 kB / 281.3 MB, free: 9.121 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.02319, allocations: 81.14 kB / 281.4 MB, free: 9.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.02356, allocations: 300.3 kB / 281.7 MB, free: 8.715 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.548e-05/0.0236, allocations: 75.83 kB / 281.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.735e-05/0.02365, allocations: 21.62 kB / 281.7 MB, free: 8.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.164e-05/0.02374, allocations: 83.34 kB / 281.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02374, allocations: 0 / 281.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of Templates: time 0.004357/0.0281, allocations: 2.847 MB / 284.7 MB, free: 5.715 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.568791473750025]