Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009079/0.0009079, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001114/0.001114, allocations: 166.2 kB / 24.91 MB, free: 8.77 MB / 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 0.9803/0.9803, allocations: 177 MB / 205.2 MB, free: 5.051 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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.156e-05, allocations: 9.266 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002067/0.002079, allocations: 1.967 MB / 275.4 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003322, allocations: 1.218 MB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.00341, allocations: 7.938 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.003819, allocations: 151.4 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.004045, allocations: 171.2 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.004287, allocations: 175.3 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.004456, allocations: 203.4 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.65e-05/0.004523, allocations: 18.47 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.004633, allocations: 119.6 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.00471, allocations: 63.8 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.004728, allocations: 12 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.004814, allocations: 63.89 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.004863, allocations: 51.77 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.004901, allocations: 35.86 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.005079, allocations: 171.3 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-06/0.00508, allocations: 0 / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005081, allocations: 0 / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.715e-06/0.005083, allocations: 0 / 277.8 MB, free: 12.63 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.0003651/0.005448, allocations: 437.2 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.005476, allocations: 15.98 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.005508, allocations: 20.91 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.005701, allocations: 209.6 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.005715, allocations: 12.31 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.005725, allocations: 4.375 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.00589, allocations: 154 kB / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.005896, allocations: 192 / 278.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.005904, allocations: 4.375 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.005908, allocations: 3.938 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.563e-05/0.005944, allocations: 22.75 kB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.006162, allocations: 212.5 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.006274, allocations: 161.1 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.006307, allocations: 35.44 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.006322, allocations: 11.98 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.758e-05/0.00639, allocations: 70.09 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.11e-07/0.006391, allocations: 0 / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001236/0.006514, allocations: 85.59 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.006582, allocations: 140.8 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.006717, allocations: 250.6 kB / 279.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.00673, allocations: 25.7 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.006766, allocations: 100.9 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.006783, allocations: 23.83 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.006813, allocations: 25.7 kB / 279.8 MB, free: 10.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.683e-05/0.00688, allocations: 330.8 kB / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.006894, allocations: 14.81 kB / 280.1 MB, free: 10.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.006921, allocations: 48.28 kB / 280.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.413e-05/0.006956, allocations: 35.3 kB / 280.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.006957, allocations: 4.031 kB / 280.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.777e-05/0.007015, allocations: 68.48 kB / 280.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.007024, allocations: 7.938 kB / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-06/0.007026, allocations: 4 kB / 280.3 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.007034, allocations: 3.938 kB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.007077, allocations: 11.98 kB / 280.3 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.007079, allocations: 0 / 280.3 MB, free: 9.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.007107, allocations: 7.953 kB / 280.3 MB, free: 9.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.007112, allocations: 4 kB / 280.3 MB, free: 9.836 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 5.839e-05/0.00717, allocations: 121 kB / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.007211, allocations: 65.55 kB / 280.5 MB, free: 9.637 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.895e-05/0.00729, allocations: 83.52 kB / 280.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.007293, allocations: 4 kB / 280.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.007296, allocations: 4 kB / 280.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.0073, allocations: 4 kB / 280.6 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.188e-05/0.007381, allocations: 113.8 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007382, allocations: 0 / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.007398, allocations: 4 kB / 280.7 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.0074, allocations: 4.094 kB / 280.7 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.007405, allocations: 7.938 kB / 280.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007407, allocations: 7.938 kB / 280.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.007408, allocations: 0 / 280.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.465e-05/0.007483, allocations: 113.3 kB / 280.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.00752, allocations: 27.84 kB / 280.8 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.007537, allocations: 7.984 kB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.059e-05/0.007568, allocations: 7.938 kB / 280.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.007589, allocations: 7.984 kB / 280.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.007599, allocations: 8 kB / 280.9 MB, free: 9.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.907e-05/0.007658, allocations: 81.61 kB / 281 MB, free: 9.102 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007658, allocations: 4 kB / 281 MB, free: 9.098 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001236/0.007782, allocations: 35.92 kB / 281 MB, free: 9.062 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.0009219/0.008704, allocations: 0.5019 MB / 281.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.798e-05/0.008772, allocations: 40.78 kB / 281.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.008774, allocations: 0 / 281.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.0088, allocations: 20.84 kB / 281.6 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.008973, allocations: 85.72 kB / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.009276, allocations: 324.5 kB / 282 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.591e-05/0.009312, allocations: 75.98 kB / 282 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.943e-05/0.009351, allocations: 25.62 kB / 282.1 MB, free: 8.125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.735e-05/0.009429, allocations: 87.34 kB / 282.1 MB, free: 8.039 MB / 266.7 MB Notification: Performance of SimCode: time 6.02e-07/0.009429, allocations: 288 / 282.1 MB, free: 8.039 MB / 266.7 MB Notification: Performance of Templates: time 0.00405/0.01348, allocations: 3.084 MB / 285.2 MB, free: 5.008 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.696698773186654]