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.0008459/0.0008459, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004673/0.004673, allocations: 160.2 kB / 24.7 MB, free: 9.441 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.8619/0.8619, allocations: 177 MB / 204.9 MB, free: 5.711 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.442e-06/1.442e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.14e-05, allocations: 3.266 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002466/0.002487, allocations: 1.912 MB / 327.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.003923, allocations: 1.184 MB / 328.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.004033, allocations: 3.938 kB / 328.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006152/0.004648, allocations: 159.4 kB / 329 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.004988, allocations: 163.3 kB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.005382, allocations: 182.7 kB / 329.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.005649, allocations: 203.4 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.005773, allocations: 25.78 kB / 329.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.005912, allocations: 111.7 kB / 329.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.006022, allocations: 67.8 kB / 329.8 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.006044, allocations: 8 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.006151, allocations: 63.84 kB / 329.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.006211, allocations: 47.83 kB / 329.9 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.006262, allocations: 43.84 kB / 329.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.006527, allocations: 223.2 kB / 330.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.006529, allocations: 0 / 330.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.00653, allocations: 0 / 330.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.006534, allocations: 0 / 330.1 MB, free: 10.97 MB / 298.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.0005531/0.007087, allocations: 458.7 kB / 330.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.007129, allocations: 15.98 kB / 330.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.007179, allocations: 20.8 kB / 330.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.00745, allocations: 224.7 kB / 330.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.007465, allocations: 8.375 kB / 330.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.007478, allocations: 8.375 kB / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.007744, allocations: 166.3 kB / 331 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.007754, allocations: 8.188 kB / 331 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.007764, allocations: 4.375 kB / 331 MB, free: 9.996 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.00777, allocations: 7.875 kB / 331 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/0.007843, allocations: 35.98 kB / 331.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.008183, allocations: 303 kB / 331.4 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.008343, allocations: 130.5 kB / 331.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.008399, allocations: 59.36 kB / 331.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.008418, allocations: 7.938 kB / 331.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.008534, allocations: 79.38 kB / 331.6 MB, free: 9.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.008536, allocations: 0 / 331.6 MB, free: 9.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002671/0.008803, allocations: 161.4 kB / 331.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.008879, allocations: 136.5 kB / 331.9 MB, free: 8.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.009115, allocations: 285.8 kB / 332.2 MB, free: 8.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.009129, allocations: 25.7 kB / 332.2 MB, free: 8.637 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.009202, allocations: 124.7 kB / 332.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.009226, allocations: 27.89 kB / 332.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.00927, allocations: 29.66 kB / 332.4 MB, free: 8.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.009361, allocations: 330.8 kB / 332.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/0.009399, allocations: 19.98 kB / 332.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/0.009455, allocations: 72.27 kB / 332.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.556e-05/0.009521, allocations: 49.7 kB / 332.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.009523, allocations: 0 / 332.9 MB, free: 7.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000112/0.009635, allocations: 101.5 kB / 333 MB, free: 7.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.009649, allocations: 4.062 kB / 333 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.009654, allocations: 4.156 kB / 333 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.009664, allocations: 0 / 333 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.009719, allocations: 15.98 kB / 333 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.009727, allocations: 3.984 kB / 333 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.00976, allocations: 8.266 kB / 333 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.009768, allocations: 7.938 kB / 333 MB, free: 7.805 MB / 298.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 8.545e-05/0.009853, allocations: 146.6 kB / 333.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.009915, allocations: 81.42 kB / 333.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.01006, allocations: 123.5 kB / 333.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01007, allocations: 0 / 333.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.01007, allocations: 4 kB / 333.4 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01008, allocations: 3.984 kB / 333.4 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.01019, allocations: 169.2 kB / 333.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01019, allocations: 0 / 333.5 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.01022, allocations: 7.938 kB / 333.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.01022, allocations: 7.938 kB / 333.6 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.01023, allocations: 4 kB / 333.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.01023, allocations: 4 kB / 333.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01023, allocations: 4 kB / 333.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.01039, allocations: 175.5 kB / 333.7 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.01044, allocations: 47.7 kB / 333.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.01045, allocations: 0 / 333.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.303e-05/0.01049, allocations: 11.94 kB / 333.8 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.01052, allocations: 7.984 kB / 333.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.01053, allocations: 4 kB / 333.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.01066, allocations: 205.2 kB / 334 MB, free: 6.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01066, allocations: 0 / 334 MB, free: 6.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001592/0.01082, allocations: 31.98 kB / 334 MB, free: 6.715 MB / 298.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.0006965/0.01152, allocations: 439.1 kB / 334.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.01166, allocations: 67.89 kB / 334.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01166, allocations: 0 / 334.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.0117, allocations: 31.92 kB / 334.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.01197, allocations: 71.98 kB / 334.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.01239, allocations: 383.6 kB / 335 MB, free: 5.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.541e-05/0.01248, allocations: 127.5 kB / 335.1 MB, free: 5.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.01251, allocations: 24.5 kB / 335.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01251, allocations: 0 / 335.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of Templates: time 0.003187/0.0157, allocations: 2.873 MB / 338 MB, free: 2.809 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.7246855776757]