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.001558/0.001558, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001669/0.001669, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.454/1.454, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.001862/0.001862, allocations: 67.89 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09783/0.09969, allocations: 53.32 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003531/0.1032, allocations: 1.938 MB / 429.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.1054, allocations: 1.242 MB / 431 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.1055, allocations: 7.938 kB / 431 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006317/0.1061, allocations: 151.5 kB / 431.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.1065, allocations: 167.3 kB / 431.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.107, allocations: 166.8 kB / 431.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1073, allocations: 199.4 kB / 431.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1074, allocations: 29.69 kB / 431.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.1076, allocations: 87.61 kB / 431.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1077, allocations: 87.48 kB / 431.9 MB, free: 432 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.1077, allocations: 12 kB / 431.9 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1079, allocations: 55.97 kB / 432 MB, free: 364 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.1079, allocations: 47.83 kB / 432 MB, free: 316 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.812e-05/0.108, allocations: 75.42 kB / 432.1 MB, free: 240 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.1084, allocations: 223 kB / 432.3 MB, free: 16 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1084, allocations: 0 / 432.3 MB, free: 16 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1084, allocations: 8 kB / 432.3 MB, free: 8 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1084, allocations: 0 / 432.3 MB, free: 8 kB / 350.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.1824/0.2908, allocations: 0.5233 MB / 432.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2908, allocations: 10 kB / 432.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.2909, allocations: 23.31 kB / 432.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.2912, allocations: 282.1 kB / 433.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.2912, allocations: 5.422 kB / 433.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2913, allocations: 8.812 kB / 433.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.2917, allocations: 167.9 kB / 433.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2917, allocations: 5.672 kB / 433.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.2917, allocations: 10.31 kB / 433.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2917, allocations: 3.75 kB / 433.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.2918, allocations: 38.45 kB / 433.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.2922, allocations: 373 kB / 433.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.2925, allocations: 129.7 kB / 433.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.903e-05/0.2926, allocations: 55.91 kB / 433.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.2926, allocations: 6.312 kB / 433.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.2927, allocations: 76.77 kB / 434 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.2927, allocations: 0 / 434 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003811/0.2931, allocations: 161 kB / 434.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.2932, allocations: 163.7 kB / 434.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.2934, allocations: 284.8 kB / 434.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.2935, allocations: 27.36 kB / 434.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.2935, allocations: 128 kB / 434.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.2935, allocations: 16 kB / 434.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.2936, allocations: 34.56 kB / 434.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.2936, allocations: 330.8 kB / 435.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.2937, allocations: 25.08 kB / 435.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.942e-05/0.2938, allocations: 81.61 kB / 435.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.2939, allocations: 97.91 kB / 435.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2939, allocations: 0 / 435.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000193/0.2941, allocations: 136.8 kB / 435.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2941, allocations: 7.375 kB / 435.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2941, allocations: 6.891 kB / 435.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2941, allocations: 4.75 kB / 435.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.2942, allocations: 11.53 kB / 435.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2942, allocations: 5.156 kB / 435.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.2943, allocations: 12.45 kB / 435.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.2943, allocations: 2.781 kB / 435.5 MB, free: 9.691 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 9.27e-05/0.2944, allocations: 156.9 kB / 435.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.2945, allocations: 75.95 kB / 435.7 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.988e-05/0.2945, allocations: 25.98 kB / 435.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2945, allocations: 1.844 kB / 435.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2945, allocations: 1.156 kB / 435.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2945, allocations: 1.312 kB / 435.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.2947, allocations: 240.1 kB / 436 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2947, allocations: 0 / 436 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.2947, allocations: 7.594 kB / 436 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.2947, allocations: 4.953 kB / 436 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.2947, allocations: 6.219 kB / 436 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2947, allocations: 2.906 kB / 436 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.2947, allocations: 2.125 kB / 436 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.295, allocations: 173.3 kB / 436.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.295, allocations: 114.1 kB / 436.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.2951, allocations: 2.5 kB / 436.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.2951, allocations: 8.109 kB / 436.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.2952, allocations: 9.469 kB / 436.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2952, allocations: 6.469 kB / 436.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.2953, allocations: 208.2 kB / 436.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2953, allocations: 2.938 kB / 436.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000255/0.2956, allocations: 28.09 kB / 436.6 MB, free: 9.027 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * 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.001423/0.297, allocations: 429.8 kB / 437 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.2972, allocations: 72.91 kB / 437 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2972, allocations: 0 / 437 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.676e-05/0.2973, allocations: 25.17 kB / 437.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.2977, allocations: 90.77 kB / 437.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.2983, allocations: 373.8 kB / 437.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.2984, allocations: 0.7356 MB / 438.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.2985, allocations: 22.41 kB / 438.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2985, allocations: 4 kB / 438.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of Templates: time 0.005357/0.3038, allocations: 2.866 MB / 441.2 MB, free: 7.625 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.387874823994935]