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.001856/0.001856, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.002445/0.002445, allocations: 213.2 kB / 22.99 MB, free: 5.609 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.646/1.646, allocations: 230.2 MB / 256.2 MB, free: 8.555 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.001941/0.001941, allocations: 63.89 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3855, allocations: 53.32 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004193/0.3897, allocations: 1.969 MB / 431.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.3924, allocations: 1.246 MB / 433 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.3926, allocations: 4 kB / 433 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009767/0.3936, allocations: 159.5 kB / 433.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.3941, allocations: 163.3 kB / 433.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.3949, allocations: 174.8 kB / 433.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.3952, allocations: 199.4 kB / 433.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.3954, allocations: 21.67 kB / 433.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.3955, allocations: 79.69 kB / 433.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.3957, allocations: 87.55 kB / 433.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.3957, allocations: 12 kB / 433.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.3959, allocations: 59.97 kB / 433.9 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.396, allocations: 47.77 kB / 434 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.3961, allocations: 75.48 kB / 434.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.3966, allocations: 224.3 kB / 434.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.3966, allocations: 0 / 434.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3966, allocations: 0 / 434.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3966, allocations: 4 kB / 434.3 MB, free: 3.035 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.001048/0.3977, allocations: 0.5309 MB / 434.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.3978, allocations: 8.031 kB / 434.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/0.3978, allocations: 24.8 kB / 434.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.3983, allocations: 282.9 kB / 435.1 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3984, allocations: 4.375 kB / 435.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.3984, allocations: 8.375 kB / 435.1 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.3988, allocations: 175.8 kB / 435.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.3989, allocations: 0 / 435.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.3989, allocations: 4 kB / 435.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3989, allocations: 4 kB / 435.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.399, allocations: 39.91 kB / 435.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.3997, allocations: 379.2 kB / 435.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.4, allocations: 130.5 kB / 435.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.4001, allocations: 51.42 kB / 435.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.4002, allocations: 0 / 435.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.4004, allocations: 87.31 kB / 436 MB, free: 1.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.4004, allocations: 0 / 436 MB, free: 1.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004653/0.4008, allocations: 149.6 kB / 436.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.401, allocations: 166.5 kB / 436.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.4014, allocations: 286.6 kB / 436.6 MB, free: 460 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4014, allocations: 29.64 kB / 436.6 MB, free: 424 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.4015, allocations: 120.4 kB / 436.7 MB, free: 296 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.4016, allocations: 19.97 kB / 436.7 MB, free: 276 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.4016, allocations: 33.72 kB / 436.8 MB, free: 236 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.4018, allocations: 334.8 kB / 437.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.4019, allocations: 20.05 kB / 437.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.402, allocations: 87.72 kB / 437.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.4022, allocations: 97.91 kB / 437.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4022, allocations: 3.938 kB / 437.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002574/0.4024, allocations: 133.4 kB / 437.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.4025, allocations: 4 kB / 437.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4025, allocations: 4.188 kB / 437.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4025, allocations: 4 kB / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4026, allocations: 19.92 kB / 437.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.4026, allocations: 7.984 kB / 437.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.4027, allocations: 7.938 kB / 437.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.4027, allocations: 4 kB / 437.5 MB, free: 15.45 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.0001825/0.4029, allocations: 149.7 kB / 437.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.403, allocations: 85.55 kB / 437.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.4033, allocations: 111.4 kB / 437.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4033, allocations: 0 / 437.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4033, allocations: 4 kB / 437.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4033, allocations: 3.984 kB / 437.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.4035, allocations: 233.5 kB / 438.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4035, allocations: 0 / 438.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.145e-05/0.4036, allocations: 12.05 kB / 438.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.4036, allocations: 8 kB / 438.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.4036, allocations: 4 kB / 438.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.4036, allocations: 8.031 kB / 438.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4036, allocations: 0 / 438.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.4039, allocations: 171.4 kB / 438.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.404, allocations: 112.9 kB / 438.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.4041, allocations: 7.922 kB / 438.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.4041, allocations: 12 kB / 438.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.4042, allocations: 4 kB / 438.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.4042, allocations: 7.984 kB / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.4044, allocations: 206 kB / 438.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4044, allocations: 0 / 438.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.4047, allocations: 31.95 kB / 438.6 MB, free: 14.18 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.001692/0.4064, allocations: 433.3 kB / 439.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.4067, allocations: 75.78 kB / 439.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4067, allocations: 0 / 439.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.584e-05/0.4067, allocations: 24 kB / 439.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.4072, allocations: 79.8 kB / 439.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/0.4079, allocations: 350.4 kB / 439.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.4083, allocations: 0.7359 MB / 440.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.074e-05/0.4084, allocations: 25.53 kB / 440.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.4085, allocations: 19.44 kB / 440.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4085, allocations: 0 / 440.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Templates: time 0.008019/0.4165, allocations: 2.729 MB / 443.1 MB, free: 9.84 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: 5.2046698005869985]