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.001651/0.001651, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.002177/0.002177, allocations: 218.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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.586/1.586, allocations: 230.5 MB / 258.1 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001984/0.001984, allocations: 59.91 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2812, allocations: 53.41 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00394/0.2851, allocations: 1.907 MB / 434.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.2875, allocations: 1.172 MB / 435.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001907/0.2877, allocations: 7.938 kB / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.2884, allocations: 163.5 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005149/0.2889, allocations: 163.3 kB / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.2895, allocations: 178.4 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.2899, allocations: 199.5 kB / 436.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.29, allocations: 29.59 kB / 436.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.2902, allocations: 83.62 kB / 436.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.2903, allocations: 83.55 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.2904, allocations: 8 kB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.2905, allocations: 63.95 kB / 436.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.488e-05/0.2906, allocations: 47.83 kB / 436.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.2907, allocations: 55.61 kB / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000401/0.2911, allocations: 225.9 kB / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2911, allocations: 0 / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2911, allocations: 0 / 436.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.2911, allocations: 0 / 436.7 MB, free: 2.148 MB / 334.1 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.001074/0.2922, allocations: 466.6 kB / 437.2 MB, free: 1.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.2922, allocations: 11.98 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.731e-05/0.2923, allocations: 28.78 kB / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.2928, allocations: 217.1 kB / 437.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2928, allocations: 4.375 kB / 437.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.2928, allocations: 8.375 kB / 437.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.2933, allocations: 171 kB / 437.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2933, allocations: 7.938 kB / 437.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2933, allocations: 4 kB / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.2933, allocations: 0 / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2934, allocations: 43.91 kB / 437.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.294, allocations: 306.9 kB / 438 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.2943, allocations: 134.5 kB / 438.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2944, allocations: 55.42 kB / 438.2 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.2944, allocations: 3.938 kB / 438.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.2946, allocations: 83.38 kB / 438.3 MB, free: 464 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.2946, allocations: 0 / 438.3 MB, free: 464 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004248/0.295, allocations: 165.4 kB / 438.4 MB, free: 292 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.2951, allocations: 140.8 kB / 438.6 MB, free: 120 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.2954, allocations: 281.9 kB / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.2955, allocations: 29.69 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2956, allocations: 124.4 kB / 439 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.2956, allocations: 15.91 kB / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.2957, allocations: 33.7 kB / 439 MB, free: 15.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.2958, allocations: 334.8 kB / 439.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.2959, allocations: 20 kB / 439.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.296, allocations: 112.6 kB / 439.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.2962, allocations: 101.9 kB / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2962, allocations: 0 / 439.6 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002686/0.2965, allocations: 133.4 kB / 439.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2965, allocations: 8 kB / 439.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2965, allocations: 4.188 kB / 439.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2965, allocations: 4 kB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.2966, allocations: 15.92 kB / 439.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2966, allocations: 4 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.2967, allocations: 7.938 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.2967, allocations: 8 kB / 439.8 MB, free: 14.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000164/0.2969, allocations: 146.3 kB / 439.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.297, allocations: 77.48 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.2973, allocations: 127.4 kB / 440.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.2973, allocations: 4 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2973, allocations: 320 / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2973, allocations: 3.938 kB / 440.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.2975, allocations: 169.2 kB / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2975, allocations: 4 kB / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.2975, allocations: 12 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.2975, allocations: 3.984 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.2976, allocations: 7.984 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.2976, allocations: 3.938 kB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2976, allocations: 4 kB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.2979, allocations: 183.4 kB / 440.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.3e-05/0.298, allocations: 35.83 kB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.298, allocations: 4 kB / 440.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.2981, allocations: 7.984 kB / 440.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.2981, allocations: 7.984 kB / 440.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2981, allocations: 4 kB / 440.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002377/0.2983, allocations: 213.1 kB / 440.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2983, allocations: 7.938 kB / 440.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.2986, allocations: 27.95 kB / 440.8 MB, free: 13.69 MB / 350.1 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.001691/0.3003, allocations: 442.4 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.3006, allocations: 83.83 kB / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3006, allocations: 0 / 441.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.758e-05/0.3007, allocations: 23.98 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004681/0.3012, allocations: 86.39 kB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.3019, allocations: 387.5 kB / 441.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.302, allocations: 119.6 kB / 441.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.3021, allocations: 23.42 kB / 441.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3021, allocations: 0 / 441.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Templates: time 0.005941/0.308, allocations: 2.898 MB / 444.8 MB, free: 9.754 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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: 7.5359936552122235]