Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 111.1 kB / 20.44 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002457/0.002457, allocations: 205.9 kB / 23.73 MB, free: 4.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 51.92 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2819, allocations: 53.38 MB / 431.6 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003922/0.2858, allocations: 1.903 MB / 433.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.2883, allocations: 1.18 MB / 434.7 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.2885, allocations: 7.938 kB / 434.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007041/0.2892, allocations: 159.5 kB / 434.8 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005017/0.2897, allocations: 163.4 kB / 435 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006011/0.2903, allocations: 179.1 kB / 435.2 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.2906, allocations: 203.4 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2907, allocations: 29.59 kB / 435.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.2909, allocations: 83.62 kB / 435.5 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.291, allocations: 79.61 kB / 435.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.2911, allocations: 8 kB / 435.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.2913, allocations: 63.91 kB / 435.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.2913, allocations: 47.83 kB / 435.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.751e-05/0.2914, allocations: 63.55 kB / 435.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004034/0.2918, allocations: 221.5 kB / 435.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2918, allocations: 0 / 435.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2918, allocations: 4 kB / 435.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.2918, allocations: 0 / 435.9 MB, free: 2.293 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.000854/0.2927, allocations: 461.4 kB / 436.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2927, allocations: 8.031 kB / 436.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.2928, allocations: 28.73 kB / 436.4 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.2932, allocations: 229.1 kB / 436.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.2932, allocations: 4.375 kB / 436.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.2932, allocations: 12.12 kB / 436.7 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.2936, allocations: 154.7 kB / 436.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2936, allocations: 3.938 kB / 436.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2937, allocations: 11.98 kB / 436.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2937, allocations: 0 / 436.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.2938, allocations: 39.98 kB / 436.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005802/0.2944, allocations: 310.8 kB / 437.2 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.2947, allocations: 134.5 kB / 437.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.2948, allocations: 51.36 kB / 437.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.2948, allocations: 4 kB / 437.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.295, allocations: 79.39 kB / 437.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.084e-06/0.295, allocations: 0 / 437.4 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004284/0.2954, allocations: 165.6 kB / 437.6 MB, free: 456 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.2955, allocations: 140.5 kB / 437.7 MB, free: 284 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.2959, allocations: 282 kB / 438 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.2959, allocations: 25.7 kB / 438 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.296, allocations: 124.4 kB / 438.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.2961, allocations: 27.73 kB / 438.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.2961, allocations: 30.09 kB / 438.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2963, allocations: 338.8 kB / 438.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.2963, allocations: 24.05 kB / 438.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.2965, allocations: 104.6 kB / 438.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.2966, allocations: 101.9 kB / 438.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2967, allocations: 0 / 438.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002621/0.2969, allocations: 141.4 kB / 438.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2969, allocations: 4 kB / 438.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.2969, allocations: 4 kB / 438.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.297, allocations: 0 / 438.9 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.187e-05/0.297, allocations: 15.94 kB / 438.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.2971, allocations: 7.984 kB / 438.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.2971, allocations: 7.938 kB / 439 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2971, allocations: 8.188 kB / 439 MB, free: 14.96 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.0002018/0.2973, allocations: 149.7 kB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.2975, allocations: 81.48 kB / 439.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.2977, allocations: 115.3 kB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2977, allocations: 0 / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.2977, allocations: 4 kB / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2977, allocations: 0 / 439.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.2979, allocations: 173.1 kB / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2979, allocations: 4.094 kB / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.298, allocations: 7.984 kB / 439.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.298, allocations: 7.984 kB / 439.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.298, allocations: 4 kB / 439.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.298, allocations: 8.062 kB / 439.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.298, allocations: 3.938 kB / 439.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.2983, allocations: 183.4 kB / 439.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.279e-05/0.2984, allocations: 35.83 kB / 439.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.2984, allocations: 3.984 kB / 439.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.922e-05/0.2985, allocations: 8 kB / 439.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.2985, allocations: 11.98 kB / 439.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.2986, allocations: 4 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002548/0.2988, allocations: 205.2 kB / 440 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2988, allocations: 0 / 440 MB, free: 13.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.2991, allocations: 31.95 kB / 440 MB, free: 13.86 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.001668/0.3007, allocations: 455.6 kB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.301, allocations: 87.95 kB / 440.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.301, allocations: 0 / 440.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.797e-05/0.3011, allocations: 27.92 kB / 440.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.3015, allocations: 71 kB / 440.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008208/0.3023, allocations: 349.8 kB / 441 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.3025, allocations: 128.1 kB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.498e-05/0.3026, allocations: 25.78 kB / 441.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.3026, allocations: 15.44 kB / 441.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3026, allocations: 0 / 441.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of Templates: time 0.008053/0.3107, allocations: 2.998 MB / 444.1 MB, free: 9.902 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.644588127732277]