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.001296/0.001296, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001504/0.001504, allocations: 170.8 kB / 24.91 MB, free: 9.145 MB / 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.9859/0.9859, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.162e-06/1.162e-06, allocations: 0 / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.885e-05, allocations: 2.312 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002328/0.002347, allocations: 1.944 MB / 275.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.003655, allocations: 1.192 MB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.003747, allocations: 7.938 kB / 276.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.004224, allocations: 159.3 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002479/0.004472, allocations: 159.3 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.00475, allocations: 175.3 kB / 277.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.004924, allocations: 187.5 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.595e-05/0.005, allocations: 26.44 kB / 277.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.00511, allocations: 103.7 kB / 277.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.005195, allocations: 67.8 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.005213, allocations: 8 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-05/0.005309, allocations: 55.91 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.318e-05/0.005372, allocations: 55.77 kB / 277.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.005412, allocations: 31.86 kB / 277.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.00562, allocations: 163.4 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.005622, allocations: 4 kB / 277.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005623, allocations: 0 / 277.8 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.005626, allocations: 0 / 277.8 MB, free: 12.98 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.0004047/0.006031, allocations: 425.3 kB / 278.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.006059, allocations: 8.031 kB / 278.2 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.00609, allocations: 16.92 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.006289, allocations: 205.5 kB / 278.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.006438, allocations: 12.36 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.006449, allocations: 8.375 kB / 278.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.006633, allocations: 129.2 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.006641, allocations: 3.938 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.006649, allocations: 7.984 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.006654, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.369e-05/0.006688, allocations: 14.83 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.006916, allocations: 207.5 kB / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.007024, allocations: 138.6 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.007052, allocations: 26.58 kB / 278.9 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.007067, allocations: 7.938 kB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.978e-05/0.007147, allocations: 62.2 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.552e-06/0.007148, allocations: 4 kB / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001404/0.007289, allocations: 81.55 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.007333, allocations: 111.1 kB / 279.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.007472, allocations: 230.7 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.007486, allocations: 29.7 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.00753, allocations: 108.5 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.007545, allocations: 11.91 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.007577, allocations: 25.7 kB / 279.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.007653, allocations: 330.8 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.007666, allocations: 6.828 kB / 279.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.007699, allocations: 60.2 kB / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.007739, allocations: 39.34 kB / 280 MB, free: 10.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007741, allocations: 4.031 kB / 280 MB, free: 10.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.592e-05/0.007806, allocations: 68.38 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.007818, allocations: 4 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.007824, allocations: 320 / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.007836, allocations: 4 kB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.181e-05/0.007888, allocations: 12 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.00789, allocations: 0 / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.318e-05/0.007924, allocations: 15.94 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.007928, allocations: 3.938 kB / 280.1 MB, free: 10.36 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.424e-05/0.007992, allocations: 125.4 kB / 280.2 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.008039, allocations: 57.61 kB / 280.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.428e-05/0.008124, allocations: 79.38 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008126, allocations: 0 / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008127, allocations: 0 / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.008131, allocations: 4 kB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.481e-05/0.008215, allocations: 101.8 kB / 280.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008218, allocations: 4 kB / 280.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.008236, allocations: 7.984 kB / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008238, allocations: 0 / 280.5 MB, free: 9.941 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.008245, allocations: 12 kB / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008246, allocations: 0 / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008247, allocations: 0 / 280.5 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.387e-05/0.008321, allocations: 108.4 kB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.008372, allocations: 27.84 kB / 280.6 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.008391, allocations: 3.938 kB / 280.6 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.00843, allocations: 11.98 kB / 280.7 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.008456, allocations: 4 kB / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.008466, allocations: 3.984 kB / 280.7 MB, free: 9.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.495e-05/0.008531, allocations: 81.61 kB / 280.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008531, allocations: 4 kB / 280.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001309/0.008662, allocations: 31.94 kB / 280.8 MB, free: 9.629 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.001148/0.00981, allocations: 0.5078 MB / 281.3 MB, free: 9.355 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.391e-05/0.009894, allocations: 44.78 kB / 281.3 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.009897, allocations: 4 kB / 281.3 MB, free: 9.305 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.831e-05/0.009926, allocations: 20.8 kB / 281.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.01011, allocations: 75.2 kB / 281.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.01045, allocations: 304.2 kB / 281.7 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.01049, allocations: 83.75 kB / 281.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.01053, allocations: 13.48 kB / 281.8 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.01061, allocations: 79.36 kB / 281.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01061, allocations: 4 kB / 281.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of Templates: time 0.004451/0.01506, allocations: 2.86 MB / 284.8 MB, free: 5.871 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: 2.740636098664254]