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.001401/0.001401, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.001458/0.001458, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.68/1.68, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.001628/0.001628, allocations: 47.92 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3596, allocations: 53.37 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00414/0.3637, allocations: 1.95 MB / 433.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.3663, allocations: 1.262 MB / 434.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.3665, allocations: 7.938 kB / 434.8 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007891/0.3672, allocations: 155.5 kB / 435 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.3677, allocations: 159.4 kB / 435.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.3683, allocations: 179.4 kB / 435.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.3687, allocations: 203.4 kB / 435.5 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3688, allocations: 29.73 kB / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.369, allocations: 83.62 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.3691, allocations: 87.61 kB / 435.7 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.3691, allocations: 8 kB / 435.7 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.3693, allocations: 59.95 kB / 435.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-05/0.3694, allocations: 55.78 kB / 435.8 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.3695, allocations: 75.42 kB / 435.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.3699, allocations: 224.4 kB / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3699, allocations: 0 / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3699, allocations: 0 / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.3699, allocations: 0 / 436.1 MB, free: 2.395 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.0009735/0.3709, allocations: 470.5 kB / 436.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.371, allocations: 8.031 kB / 436.6 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.371, allocations: 20.8 kB / 436.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.3715, allocations: 229.1 kB / 436.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.3715, allocations: 4.375 kB / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.3716, allocations: 12.12 kB / 436.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005123/0.3721, allocations: 177.8 kB / 437 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3721, allocations: 4 kB / 437 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3721, allocations: 4 kB / 437 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3721, allocations: 0 / 437 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.3722, allocations: 35.92 kB / 437.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/0.3729, allocations: 342.4 kB / 437.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.3731, allocations: 134.5 kB / 437.5 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3732, allocations: 51.42 kB / 437.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.3733, allocations: 12.05 kB / 437.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.3735, allocations: 79.33 kB / 437.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3735, allocations: 0 / 437.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004229/0.3739, allocations: 153.5 kB / 437.8 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.374, allocations: 170.1 kB / 438 MB, free: 296 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.3744, allocations: 273.9 kB / 438.3 MB, free: 12 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.3744, allocations: 30.08 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.3746, allocations: 124.4 kB / 438.4 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.3746, allocations: 23.83 kB / 438.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.3747, allocations: 33.7 kB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3749, allocations: 330.8 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.375, allocations: 23.98 kB / 438.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3751, allocations: 91.41 kB / 438.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.3753, allocations: 97.91 kB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3753, allocations: 0 / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002607/0.3755, allocations: 125.4 kB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.3756, allocations: 15.92 kB / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3756, allocations: 0 / 439.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.3756, allocations: 4 kB / 439.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3757, allocations: 15.94 kB / 439.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3757, allocations: 4.188 kB / 439.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-05/0.3758, allocations: 16.23 kB / 439.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3758, allocations: 4 kB / 439.2 MB, free: 15.01 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.0002084/0.376, allocations: 159.3 kB / 439.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.3761, allocations: 73.48 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002639/0.3764, allocations: 107.4 kB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3764, allocations: 4.094 kB / 439.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.3764, allocations: 7.984 kB / 439.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3764, allocations: 3.938 kB / 439.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.3767, allocations: 212.5 kB / 439.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3767, allocations: 0 / 439.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.3767, allocations: 7.938 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.3767, allocations: 0 / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3767, allocations: 8 kB / 439.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3767, allocations: 0 / 439.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.3767, allocations: 7.984 kB / 439.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.377, allocations: 179.3 kB / 439.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.958e-05/0.3771, allocations: 31.89 kB / 440 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.3771, allocations: 3.984 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.3772, allocations: 8 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.3772, allocations: 7.984 kB / 440 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.3772, allocations: 11.94 kB / 440 MB, free: 14.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.3775, allocations: 205.2 kB / 440.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3775, allocations: 0 / 440.2 MB, free: 13.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.3777, allocations: 31.94 kB / 440.2 MB, free: 13.87 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 (11): * Single equations (assignments): 9 * 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.001701/0.3795, allocations: 416.3 kB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3797, allocations: 84.03 kB / 440.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3797, allocations: 0 / 440.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.649e-05/0.3798, allocations: 24 kB / 440.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.3803, allocations: 67.94 kB / 440.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.381, allocations: 345.8 kB / 441.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.3815, allocations: 0.7359 MB / 441.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.694e-05/0.3816, allocations: 25.64 kB / 441.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.3816, allocations: 23.42 kB / 441.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3816, allocations: 3.938 kB / 441.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Templates: time 0.007839/0.3895, allocations: 2.753 MB / 444.7 MB, free: 9.539 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: 5.146613359218463]