Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.000945/0.000945, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00258/0.003525, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001077/0.001077, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.002391, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9784/0.9784, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1019/1.08, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.15e-05, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002102/0.002113, allocations: 2.018 MB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.00359, allocations: 1.301 MB / 247.8 MB, free: 10.99 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.003695, allocations: 7.938 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.003891, allocations: 75.59 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.004126, allocations: 135.3 kB / 248 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.004571, allocations: 229.8 kB / 248.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.004788, allocations: 195.4 kB / 248.5 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.004876, allocations: 30.39 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.005032, allocations: 144.4 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.047e-05/0.005122, allocations: 67.8 kB / 248.7 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.00514, allocations: 8 kB / 248.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.00528, allocations: 75.88 kB / 248.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.005338, allocations: 43.86 kB / 248.8 MB, free: 10 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.005379, allocations: 35.81 kB / 248.9 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.005593, allocations: 187.3 kB / 249 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/0.005608, allocations: 0 / 249 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005608, allocations: 0 / 249 MB, free: 9.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.00562, allocations: 0 / 249 MB, free: 9.785 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005155/0.006136, allocations: 0.4888 MB / 249.5 MB, free: 9.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.678e-05/0.006162, allocations: 8.031 kB / 249.5 MB, free: 9.258 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.711e-05/0.0062, allocations: 20.91 kB / 249.6 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.006416, allocations: 217.8 kB / 249.8 MB, free: 8.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.006432, allocations: 8.375 kB / 249.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.006444, allocations: 8.125 kB / 249.8 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.006653, allocations: 162.1 kB / 249.9 MB, free: 8.793 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.006662, allocations: 4 kB / 249.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.00667, allocations: 0 / 249.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.006675, allocations: 0 / 249.9 MB, free: 8.789 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.006718, allocations: 30.73 kB / 250 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.006971, allocations: 220.4 kB / 250.2 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.007405, allocations: 160 kB / 250.3 MB, free: 8.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.007442, allocations: 43.42 kB / 250.4 MB, free: 8.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.007464, allocations: 7.984 kB / 250.4 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.922e-05/0.007563, allocations: 74.19 kB / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.007565, allocations: 3.938 kB / 250.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001551/0.00772, allocations: 93.94 kB / 250.6 MB, free: 8.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.007772, allocations: 144.5 kB / 250.7 MB, free: 7.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.007926, allocations: 268.7 kB / 251 MB, free: 7.625 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.007941, allocations: 25.7 kB / 251 MB, free: 7.594 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.007983, allocations: 100.9 kB / 251.1 MB, free: 7.488 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.008004, allocations: 27.81 kB / 251.1 MB, free: 7.461 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.00804, allocations: 25.67 kB / 251.1 MB, free: 7.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.008116, allocations: 342.7 kB / 251.5 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.00813, allocations: 6.828 kB / 251.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.008162, allocations: 52.27 kB / 251.5 MB, free: 7.012 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.008204, allocations: 47.31 kB / 251.6 MB, free: 6.957 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.008206, allocations: 3.938 kB / 251.6 MB, free: 6.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.24e-05/0.008279, allocations: 68.5 kB / 251.7 MB, free: 6.879 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.008296, allocations: 7.984 kB / 251.7 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.0083, allocations: 0 / 251.7 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/0.008308, allocations: 0 / 251.7 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.008374, allocations: 15.94 kB / 251.7 MB, free: 6.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.008377, allocations: 4 kB / 251.7 MB, free: 6.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.00841, allocations: 3.984 kB / 251.7 MB, free: 6.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.008415, allocations: 4 kB / 251.7 MB, free: 6.844 MB / 250.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,table.y) * 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.295e-05/0.008478, allocations: 124.6 kB / 251.8 MB, free: 6.711 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.008528, allocations: 61.61 kB / 251.9 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.665e-05/0.008625, allocations: 79.41 kB / 251.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.008628, allocations: 4 kB / 252 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.00863, allocations: 320 / 252 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.008634, allocations: 4 kB / 252 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.567e-05/0.00873, allocations: 117.8 kB / 252.1 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.008733, allocations: 7.938 kB / 252.1 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.00878, allocations: 24.08 kB / 252.1 MB, free: 6.387 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.008824, allocations: 39.77 kB / 252.1 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.008826, allocations: 0 / 252.1 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.008833, allocations: 4 kB / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008834, allocations: 0 / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008835, allocations: 0 / 252.1 MB, free: 6.344 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.238e-05/0.008917, allocations: 121.2 kB / 252.3 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.008936, allocations: 4 kB / 252.3 MB, free: 6.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/0.008965, allocations: 4 kB / 252.3 MB, free: 6.188 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.008996, allocations: 7.984 kB / 252.3 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.009009, allocations: 11.98 kB / 252.3 MB, free: 6.168 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.027e-05/0.009089, allocations: 107.5 kB / 252.4 MB, free: 6.059 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009089, allocations: 0 / 252.4 MB, free: 6.059 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001368/0.009226, allocations: 35.94 kB / 252.4 MB, free: 6.023 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (12): * Single equations (assignments): 10 * 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.001193/0.01042, allocations: 0.5643 MB / 253 MB, free: 5.727 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.184e-05/0.01051, allocations: 40.84 kB / 253 MB, free: 5.684 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.01052, allocations: 12 kB / 253 MB, free: 5.672 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.969e-05/0.01055, allocations: 24.83 kB / 253.1 MB, free: 5.645 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.01076, allocations: 96.22 kB / 253.2 MB, free: 5.562 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.01124, allocations: 364.4 kB / 253.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.01129, allocations: 83.97 kB / 253.6 MB, free: 5.07 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.738e-05/0.01133, allocations: 30.05 kB / 253.6 MB, free: 5.039 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.935e-05/0.01142, allocations: 87.34 kB / 253.7 MB, free: 4.953 MB / 250.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01142, allocations: 0 / 253.7 MB, free: 4.953 MB / 250.7 MB Notification: Performance of Templates: time 0.004837/0.01626, allocations: 3.507 MB / 257.2 MB, free: 1.512 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.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.6203018175438046]