Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.0009285/0.0009285, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009227/0.0009227, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 1.05/1.05, allocations: 177 MB / 204.8 MB, free: 5.574 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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.058e-05, allocations: 9.203 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002616/0.002647, allocations: 1.959 MB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.004465, allocations: 1.281 MB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.004604, allocations: 7.938 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.004934, allocations: 79.47 kB / 276.2 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.00528, allocations: 131.4 kB / 276.4 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.005827, allocations: 243 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.006052, allocations: 187.5 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.006163, allocations: 25.73 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.006293, allocations: 107.7 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.006404, allocations: 75.78 kB / 277 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.006428, allocations: 12 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.006565, allocations: 67.94 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.006645, allocations: 67.75 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.006699, allocations: 31.88 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.006998, allocations: 199.2 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.007004, allocations: 11.88 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.007006, allocations: 0 / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.007013, allocations: 0 / 277.4 MB, free: 12.96 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006254/0.007638, allocations: 0.5788 MB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.00768, allocations: 15.98 kB / 278 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.007748, allocations: 24.8 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.008043, allocations: 248.6 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.008065, allocations: 8.375 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.008082, allocations: 8.375 kB / 278.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.00841, allocations: 210.3 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.008419, allocations: 192 / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.008432, allocations: 8.375 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.008441, allocations: 3.938 kB / 278.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.948e-05/0.008501, allocations: 31.91 kB / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.008921, allocations: 378.7 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.009094, allocations: 144.5 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.095e-05/0.009155, allocations: 54.73 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.009181, allocations: 11.88 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.009297, allocations: 81.03 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.684e-06/0.009299, allocations: 0 / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002611/0.00956, allocations: 137.3 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.009631, allocations: 166.2 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.00985, allocations: 338.3 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.009868, allocations: 33.7 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.824e-05/0.009956, allocations: 183.2 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.009981, allocations: 20.27 kB / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.01002, allocations: 39.31 kB / 280.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.01015, allocations: 0.5079 MB / 280.6 MB, free: 9.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/0.01018, allocations: 4 kB / 280.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.01024, allocations: 102.1 kB / 280.7 MB, free: 9.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.178e-05/0.0103, allocations: 47.61 kB / 280.7 MB, free: 9.246 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01031, allocations: 0 / 280.7 MB, free: 9.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001079/0.01041, allocations: 93.42 kB / 280.8 MB, free: 9.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.01043, allocations: 8 kB / 280.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01043, allocations: 4.062 kB / 280.8 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.01045, allocations: 0 / 280.8 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.709e-05/0.01054, allocations: 15.98 kB / 280.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01054, allocations: 3.938 kB / 280.8 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.01058, allocations: 4 kB / 280.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.01059, allocations: 4 kB / 280.8 MB, free: 9.109 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,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 8.238e-05/0.01067, allocations: 160.6 kB / 281 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.01074, allocations: 81.42 kB / 281.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.0109, allocations: 107.7 kB / 281.2 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.0109, allocations: 7.984 kB / 281.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.01091, allocations: 0 / 281.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01091, allocations: 0 / 281.2 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.01106, allocations: 200.5 kB / 281.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.01107, allocations: 7.938 kB / 281.4 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.01112, allocations: 15.98 kB / 281.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.01113, allocations: 3.938 kB / 281.4 MB, free: 8.477 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01114, allocations: 4 kB / 281.4 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.01114, allocations: 3.984 kB / 281.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.01114, allocations: 4 kB / 281.4 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.01131, allocations: 187.2 kB / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.01138, allocations: 51.77 kB / 281.7 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.0114, allocations: 4.062 kB / 281.7 MB, free: 8.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.112e-05/0.01144, allocations: 8 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.01149, allocations: 7.984 kB / 281.7 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.0115, allocations: 11.98 kB / 281.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.01163, allocations: 227 kB / 281.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01163, allocations: 4 kB / 281.9 MB, free: 7.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.01182, allocations: 39.88 kB / 282 MB, free: 7.898 MB / 266.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.000829/0.01265, allocations: 407.5 kB / 282.4 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.01279, allocations: 55.61 kB / 282.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01279, allocations: 0 / 282.4 MB, free: 7.551 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.01284, allocations: 35.61 kB / 282.4 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.01315, allocations: 74.94 kB / 282.5 MB, free: 7.438 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.01362, allocations: 368.8 kB / 282.9 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.01367, allocations: 87.97 kB / 283 MB, free: 6.934 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.01387, allocations: 26.12 kB / 283 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.01392, allocations: 24.48 kB / 283 MB, free: 6.887 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01392, allocations: 0 / 283 MB, free: 6.887 MB / 266.7 MB Notification: Performance of Templates: time 0.005289/0.01921, allocations: 3.246 MB / 286.3 MB, free: 3.691 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.9866377348080277]