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.001/0.001, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.00235, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007253/0.0007253, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009303/0.001656, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.003/1.003, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09127/1.094, allocations: 53.86 MB / 243.9 MB, free: 14.87 MB / 250.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.362e-06/1.362e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.383e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002407/0.002431, allocations: 2.022 MB / 247.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.003814, allocations: 1.229 MB / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.003916, allocations: 11.88 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.004287, allocations: 147.4 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.004517, allocations: 175.1 kB / 248.8 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.004805, allocations: 179.3 kB / 249 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.005007, allocations: 203.3 kB / 249.2 MB, free: 9.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.005101, allocations: 30.39 kB / 249.2 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.005261, allocations: 147.6 kB / 249.3 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.451e-05/0.005355, allocations: 67.73 kB / 249.4 MB, free: 9.371 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.005373, allocations: 12 kB / 249.4 MB, free: 9.359 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.005486, allocations: 63.89 kB / 249.5 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.005538, allocations: 35.86 kB / 249.5 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.005578, allocations: 31.88 kB / 249.5 MB, free: 9.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.005793, allocations: 155.4 kB / 249.7 MB, free: 9.078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/0.005806, allocations: 0 / 249.7 MB, free: 9.078 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.005806, allocations: 0 / 249.7 MB, free: 9.078 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.005817, allocations: 4 kB / 249.7 MB, free: 9.074 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.0005488/0.006366, allocations: 476.8 kB / 250.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.006396, allocations: 8.031 kB / 250.2 MB, free: 8.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.006436, allocations: 20.92 kB / 250.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.006647, allocations: 209.6 kB / 250.4 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.006667, allocations: 8.375 kB / 250.4 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.006681, allocations: 8.312 kB / 250.4 MB, free: 8.301 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.006859, allocations: 146 kB / 250.5 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.006867, allocations: 192 / 250.5 MB, free: 8.133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.006879, allocations: 8.359 kB / 250.6 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.006887, allocations: 7.938 kB / 250.6 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.576e-05/0.006923, allocations: 22.75 kB / 250.6 MB, free: 8.094 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.007167, allocations: 212.4 kB / 250.8 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.007299, allocations: 161.2 kB / 250.9 MB, free: 7.664 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.00734, allocations: 35.42 kB / 251 MB, free: 7.617 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.007356, allocations: 4 kB / 251 MB, free: 7.613 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.187e-05/0.007448, allocations: 78.08 kB / 251.1 MB, free: 7.523 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.007449, allocations: 0 / 251.1 MB, free: 7.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001346/0.007584, allocations: 93.89 kB / 251.2 MB, free: 7.426 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.00765, allocations: 144.5 kB / 251.3 MB, free: 7.254 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.007799, allocations: 238.7 kB / 251.5 MB, free: 7.008 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.007814, allocations: 25.7 kB / 251.6 MB, free: 6.977 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.007852, allocations: 104.8 kB / 251.7 MB, free: 6.867 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.007875, allocations: 19.89 kB / 251.7 MB, free: 6.848 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.007904, allocations: 25.7 kB / 251.7 MB, free: 6.816 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.007976, allocations: 330.8 kB / 252 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.007995, allocations: 6.828 kB / 252 MB, free: 6.477 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.008026, allocations: 52.27 kB / 252.1 MB, free: 6.41 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.008069, allocations: 47.31 kB / 252.1 MB, free: 6.355 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.008072, allocations: 0 / 252.1 MB, free: 6.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.844e-05/0.00814, allocations: 60.52 kB / 252.2 MB, free: 6.289 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.008156, allocations: 11.92 kB / 252.2 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.00816, allocations: 3.938 kB / 252.2 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.008171, allocations: 4 kB / 252.2 MB, free: 6.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.008238, allocations: 8 kB / 252.2 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.008242, allocations: 0 / 252.2 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.008287, allocations: 11.89 kB / 252.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.008295, allocations: 7.984 kB / 252.2 MB, free: 6.242 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,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 7.919e-05/0.008374, allocations: 121 kB / 252.4 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/0.008449, allocations: 65.55 kB / 252.4 MB, free: 6.043 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.008571, allocations: 79.38 kB / 252.5 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.008574, allocations: 7.938 kB / 252.5 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.008577, allocations: 0 / 252.5 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.008582, allocations: 4 kB / 252.5 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.008707, allocations: 105.8 kB / 252.6 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.008709, allocations: 0 / 252.6 MB, free: 5.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.008747, allocations: 8.094 kB / 252.6 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.008812, allocations: 39.77 kB / 252.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.008815, allocations: 0 / 252.7 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.008826, allocations: 7.938 kB / 252.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.008829, allocations: 7.984 kB / 252.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.008831, allocations: 0 / 252.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.00894, allocations: 105.3 kB / 252.8 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.00897, allocations: 8 kB / 252.8 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.009031, allocations: 7.938 kB / 252.8 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.009066, allocations: 7.984 kB / 252.8 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.009079, allocations: 4 kB / 252.8 MB, free: 5.605 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.009187, allocations: 93.59 kB / 252.9 MB, free: 5.508 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009187, allocations: 0 / 252.9 MB, free: 5.508 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.009434, allocations: 24 kB / 252.9 MB, free: 5.484 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,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.00171/0.01114, allocations: 0.5525 MB / 253.5 MB, free: 5.152 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.01125, allocations: 44.77 kB / 253.5 MB, free: 5.105 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/0.01126, allocations: 4.094 kB / 253.5 MB, free: 5.102 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.0113, allocations: 24.86 kB / 253.5 MB, free: 5.074 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.01168, allocations: 429.6 kB / 254 MB, free: 4.586 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.01224, allocations: 324.2 kB / 254.3 MB, free: 4.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.328e-05/0.01229, allocations: 79.98 kB / 254.4 MB, free: 4.133 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.01233, allocations: 18.09 kB / 254.4 MB, free: 4.117 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.01243, allocations: 87.34 kB / 254.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01243, allocations: 3.938 kB / 254.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of Templates: time 0.004474/0.0169, allocations: 3.175 MB / 257.6 MB, free: 0.9062 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5397625183686614]