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.001328/0.001328, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001489/0.001489, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 7.812 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.002119/0.002119, allocations: 59.91 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2734, allocations: 53.41 MB / 431.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003562/0.277, allocations: 1.911 MB / 433.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002212/0.2792, allocations: 1.169 MB / 434.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2793, allocations: 15.88 kB / 434.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.2799, allocations: 150.7 kB / 434.9 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004128/0.2804, allocations: 163.4 kB / 435 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.2809, allocations: 183.4 kB / 435.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.2811, allocations: 195.4 kB / 435.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2812, allocations: 33.78 kB / 435.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.2814, allocations: 79.64 kB / 435.5 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.2815, allocations: 83.61 kB / 435.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.2815, allocations: 11.94 kB / 435.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.2817, allocations: 59.95 kB / 435.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.964e-05/0.2817, allocations: 43.84 kB / 435.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.2818, allocations: 59.59 kB / 435.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.2822, allocations: 224.2 kB / 436 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2822, allocations: 0 / 436 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2822, allocations: 0 / 436 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.2822, allocations: 4 kB / 436 MB, free: 2.172 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.0009473/0.2831, allocations: 470.6 kB / 436.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.2832, allocations: 11.98 kB / 436.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.2833, allocations: 28.73 kB / 436.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.2837, allocations: 217.1 kB / 436.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2837, allocations: 8.375 kB / 436.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.2837, allocations: 4.375 kB / 436.7 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.2841, allocations: 170.3 kB / 436.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2842, allocations: 0 / 436.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2842, allocations: 3.938 kB / 436.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2842, allocations: 7.984 kB / 436.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2843, allocations: 39.97 kB / 436.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.2848, allocations: 314.8 kB / 437.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.2851, allocations: 134.5 kB / 437.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2852, allocations: 59.34 kB / 437.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.2852, allocations: 4 kB / 437.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.2853, allocations: 71.39 kB / 437.5 MB, free: 492 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.734e-06/0.2853, allocations: 3.938 kB / 437.5 MB, free: 488 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004107/0.2858, allocations: 165.7 kB / 437.7 MB, free: 316 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.2859, allocations: 136.5 kB / 437.8 MB, free: 148 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.2862, allocations: 285.8 kB / 438.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.2862, allocations: 33.7 kB / 438.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.2863, allocations: 120.4 kB / 438.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.2864, allocations: 19.89 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.2864, allocations: 29.72 kB / 438.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.2866, allocations: 334.8 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.2866, allocations: 23.98 kB / 438.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.2868, allocations: 100.6 kB / 438.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.2869, allocations: 105.9 kB / 438.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2869, allocations: 0 / 438.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002479/0.2872, allocations: 137.6 kB / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2872, allocations: 4.188 kB / 439 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2872, allocations: 8.062 kB / 439 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2872, allocations: 4 kB / 439 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.2873, allocations: 12 kB / 439 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2873, allocations: 7.938 kB / 439 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.975e-05/0.2874, allocations: 15.92 kB / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2874, allocations: 4 kB / 439 MB, free: 14.83 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.0001411/0.2875, allocations: 142.3 kB / 439.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.2877, allocations: 85.55 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.2879, allocations: 119.4 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2879, allocations: 0 / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2879, allocations: 0 / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2879, allocations: 4 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.2881, allocations: 173.2 kB / 439.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2881, allocations: 3.938 kB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.2882, allocations: 7.984 kB / 439.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2882, allocations: 4 kB / 439.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2882, allocations: 0 / 439.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.2882, allocations: 4 kB / 439.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2882, allocations: 4.109 kB / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.2885, allocations: 195.3 kB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.2886, allocations: 31.83 kB / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.2886, allocations: 7.984 kB / 439.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.2887, allocations: 4 kB / 439.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.2887, allocations: 7.984 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2887, allocations: 4 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.2889, allocations: 209.2 kB / 440 MB, free: 13.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2889, allocations: 0 / 440 MB, free: 13.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000276/0.2892, allocations: 35.95 kB / 440 MB, free: 13.72 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.001692/0.2909, allocations: 449 kB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.2911, allocations: 75.91 kB / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2911, allocations: 0 / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.2912, allocations: 31.92 kB / 440.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.2917, allocations: 86.7 kB / 440.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.2923, allocations: 357.8 kB / 441 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2924, allocations: 119.6 kB / 441.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.379e-05/0.2925, allocations: 29.62 kB / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.2926, allocations: 19.44 kB / 441.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2926, allocations: 0 / 441.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Templates: time 0.007135/0.2997, allocations: 2.964 MB / 444.1 MB, free: 9.766 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/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.571631338447332]