Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009909/0.0009909, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001144/0.001144, allocations: 161 kB / 24.56 MB, free: 20 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 1.046/1.046, allocations: 177.2 MB / 205 MB, free: 5.297 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.633e-05, allocations: 2.312 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002736/0.002762, allocations: 1.977 MB / 275 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.004443, allocations: 1.211 MB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.004582, allocations: 11.94 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.005197, allocations: 147.4 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.00557, allocations: 171.1 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.006049, allocations: 175.4 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.006313, allocations: 207.3 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.006433, allocations: 21.8 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.006568, allocations: 107.7 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.00668, allocations: 71.78 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.006708, allocations: 12 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.006855, allocations: 59.84 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.203e-05/0.006937, allocations: 51.77 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.007001, allocations: 43.84 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.007282, allocations: 167.3 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.007285, allocations: 0 / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007286, allocations: 0 / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.007293, 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.0006852/0.007978, allocations: 0.5556 MB / 277.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.00802, allocations: 8.031 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.00809, allocations: 28.8 kB / 278 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.008454, allocations: 240.3 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.008478, allocations: 384 / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.0085, allocations: 12.38 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.008827, allocations: 168.2 kB / 278.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.008838, allocations: 7.875 kB / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.008851, allocations: 0 / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.008859, allocations: 0 / 278.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.423e-05/0.008914, allocations: 27.92 kB / 278.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.009327, allocations: 362.7 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.009492, allocations: 152.4 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.00955, allocations: 50.73 kB / 279 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.009577, allocations: 15.92 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.00969, allocations: 69.05 kB / 279.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.542e-06/0.009692, allocations: 0 / 279.1 MB, free: 11.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002675/0.009959, allocations: 133.4 kB / 279.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.01003, allocations: 132.9 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.01027, allocations: 300.3 kB / 279.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.01029, allocations: 33.64 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.332e-05/0.01038, allocations: 179.1 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.0104, allocations: 11.84 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.01045, allocations: 39.36 kB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.01061, allocations: 0.4962 MB / 280.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.01064, allocations: 4 kB / 280.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/0.0107, allocations: 68.75 kB / 280.4 MB, free: 9.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.01077, allocations: 43.3 kB / 280.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.01077, allocations: 8.031 kB / 280.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001162/0.01089, allocations: 81.48 kB / 280.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.0109, allocations: 8 kB / 280.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01091, allocations: 0 / 280.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.01093, allocations: 0 / 280.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.01101, allocations: 8 kB / 280.6 MB, free: 9.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.01101, allocations: 4 kB / 280.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.01105, allocations: 7.984 kB / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.01106, allocations: 3.938 kB / 280.6 MB, free: 9.395 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 0.0001102/0.01117, allocations: 165.7 kB / 280.8 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.01125, allocations: 85.48 kB / 280.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.01142, allocations: 99.52 kB / 280.9 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.01143, allocations: 3.984 kB / 280.9 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.01143, allocations: 4 kB / 281 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01144, allocations: 3.938 kB / 281 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.0116, allocations: 176.5 kB / 281.1 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.0116, allocations: 4 kB / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.01163, allocations: 7.938 kB / 281.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.01163, allocations: 4.094 kB / 281.1 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01164, allocations: 4 kB / 281.1 MB, free: 8.789 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.01165, allocations: 7.984 kB / 281.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01165, allocations: 0 / 281.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.01182, allocations: 179.2 kB / 281.3 MB, free: 8.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.01187, allocations: 39.78 kB / 281.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.01189, allocations: 4 kB / 281.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.573e-05/0.01193, allocations: 7.984 kB / 281.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.01197, allocations: 4 kB / 281.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.01198, allocations: 11.98 kB / 281.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.0121, allocations: 205.1 kB / 281.6 MB, free: 8.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0121, allocations: 4 kB / 281.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000184/0.01228, allocations: 24 kB / 281.6 MB, free: 8.277 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,sample1.u,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.0008761/0.01316, allocations: 411 kB / 282 MB, free: 8.016 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.01332, allocations: 51.61 kB / 282.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01332, allocations: 0 / 282.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.01337, allocations: 35.59 kB / 282.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.01369, allocations: 81.16 kB / 282.2 MB, free: 7.848 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.0142, allocations: 329.1 kB / 282.5 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.476e-05/0.01426, allocations: 87.97 kB / 282.6 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.138e-05/0.01431, allocations: 17.48 kB / 282.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.01435, allocations: 20.5 kB / 282.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01435, allocations: 0 / 282.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of Templates: time 0.005298/0.01965, allocations: 2.846 MB / 285.5 MB, free: 4.543 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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: 3.1296773944050074]