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.001018/0.001018, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001027/0.001027, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9764/0.9764, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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 1.233e-06/1.233e-06, allocations: 0 / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.004e-05, allocations: 2.312 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.00258/0.0026, allocations: 1.959 MB / 274.9 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.004233, allocations: 1.176 MB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.004375, allocations: 7.938 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006438/0.005019, allocations: 159.4 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.005417, allocations: 151.3 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.005981, allocations: 179.2 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.006243, allocations: 195.4 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.006354, allocations: 17.8 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.00648, allocations: 107.7 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.006587, allocations: 67.8 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.006609, allocations: 8 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.006733, allocations: 59.89 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.982e-05/0.006803, allocations: 47.83 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.006859, allocations: 35.86 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.007126, allocations: 163.3 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.007128, allocations: 0 / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.00713, allocations: 0 / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.007135, allocations: 0 / 277.3 MB, free: 13.22 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.0006703/0.007805, allocations: 0.544 MB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.007852, allocations: 12.03 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.00792, allocations: 24.8 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.008248, allocations: 232.3 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.00827, allocations: 384 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.00829, allocations: 8.375 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.008581, allocations: 140.6 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.008596, allocations: 7.938 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.008606, allocations: 0 / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.008615, allocations: 0 / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.008664, allocations: 27.91 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.009113, allocations: 343.1 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.009269, allocations: 117.2 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.009315, allocations: 47.05 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.009339, allocations: 4 kB / 278.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.009447, allocations: 69.05 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.009449, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002441/0.009693, allocations: 125.4 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.009745, allocations: 110.8 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.009933, allocations: 292.3 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.009949, allocations: 29.7 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.023e-05/0.01002, allocations: 171.2 kB / 279.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.01005, allocations: 19.91 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.01008, allocations: 35.31 kB / 279.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.0102, allocations: 0.4962 MB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.01022, allocations: 7.984 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.145e-05/0.01027, allocations: 72.73 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.01032, allocations: 43.25 kB / 280.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01032, allocations: 0 / 280.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.997e-05/0.01042, allocations: 81.53 kB / 280.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.01044, allocations: 8 kB / 280.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01045, allocations: 4.062 kB / 280.3 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.01046, allocations: 0 / 280.3 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.01054, allocations: 11.98 kB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.01054, allocations: 4 kB / 280.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.01058, allocations: 0 / 280.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.01059, allocations: 4 kB / 280.3 MB, free: 9.852 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.702e-05/0.01067, allocations: 167 kB / 280.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.01073, allocations: 69.48 kB / 280.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.01089, allocations: 99.38 kB / 280.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01089, allocations: 4.062 kB / 280.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.0109, allocations: 320 / 280.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.01091, allocations: 4 kB / 280.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.01107, allocations: 192.4 kB / 280.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01107, allocations: 0 / 280.9 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.431e-05/0.0111, allocations: 4 kB / 280.9 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.0111, allocations: 4 kB / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01111, allocations: 0 / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01112, allocations: 4 kB / 280.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01112, allocations: 0 / 280.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.01128, allocations: 167.5 kB / 281 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.01133, allocations: 35.83 kB / 281.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.01135, allocations: 4 kB / 281.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.265e-05/0.01138, allocations: 0 / 281.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.01144, allocations: 15.92 kB / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.01145, allocations: 4 kB / 281.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.01157, allocations: 205.1 kB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01157, allocations: 0 / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000174/0.01174, allocations: 27.94 kB / 281.3 MB, free: 8.777 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.0008261/0.01257, allocations: 401 kB / 281.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.01269, allocations: 47.61 kB / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01269, allocations: 0 / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.57e-05/0.01273, allocations: 27.73 kB / 281.8 MB, free: 8.441 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.01302, allocations: 68.12 kB / 281.8 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.01344, allocations: 302.2 kB / 282.1 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.268e-05/0.0135, allocations: 83.75 kB / 282.2 MB, free: 7.945 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.956e-05/0.01354, allocations: 21.58 kB / 282.2 MB, free: 7.918 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.01359, allocations: 24.5 kB / 282.3 MB, free: 7.895 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01359, allocations: 4.188 kB / 282.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of Templates: time 0.004777/0.01836, allocations: 2.633 MB / 284.9 MB, free: 5.301 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 3.106684631668031]