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.001619/0.001619, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001828/0.001828, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.554/1.554, allocations: 230.5 MB / 258.2 MB, free: 8 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.002127/0.002127, allocations: 71.88 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3037, allocations: 53.41 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004119/0.3078, allocations: 1.954 MB / 434.4 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.3103, allocations: 1.262 MB / 435.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.3105, allocations: 11.88 kB / 435.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006992/0.3112, allocations: 155.5 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.3117, allocations: 159.4 kB / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.3123, allocations: 182.9 kB / 436.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.3126, allocations: 195.4 kB / 436.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3128, allocations: 25.8 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.3129, allocations: 87.56 kB / 436.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.3131, allocations: 83.67 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.3132, allocations: 12 kB / 436.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.3133, allocations: 63.84 kB / 436.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.189e-05/0.3134, allocations: 51.83 kB / 436.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.3135, allocations: 75.48 kB / 436.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.314, allocations: 220.3 kB / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.314, allocations: 0 / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.314, allocations: 0 / 437 MB, free: 2.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.314, allocations: 0 / 437 MB, free: 2.242 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.001101/0.3151, allocations: 462.6 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3151, allocations: 16.03 kB / 437.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.3152, allocations: 20.8 kB / 437.4 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.3156, allocations: 229 kB / 437.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3157, allocations: 384 / 437.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3157, allocations: 12.38 kB / 437.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.3162, allocations: 171.8 kB / 437.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3162, allocations: 4 kB / 437.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.3162, allocations: 11.94 kB / 437.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3162, allocations: 3.938 kB / 437.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.3163, allocations: 35.97 kB / 437.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005895/0.3169, allocations: 350.3 kB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.3172, allocations: 126.5 kB / 438.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3173, allocations: 55.36 kB / 438.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3173, allocations: 4 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.3175, allocations: 79.38 kB / 438.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3175, allocations: 0 / 438.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005201/0.318, allocations: 157.4 kB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.3181, allocations: 162.6 kB / 438.8 MB, free: 144 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.3185, allocations: 285.8 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3186, allocations: 29.7 kB / 439.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.3187, allocations: 120.4 kB / 439.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.3187, allocations: 27.89 kB / 439.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.3188, allocations: 29.66 kB / 439.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.3189, allocations: 338.8 kB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.319, allocations: 23.98 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3191, allocations: 83.72 kB / 439.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.3193, allocations: 97.91 kB / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3193, allocations: 0 / 439.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002534/0.3195, allocations: 129.4 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3196, allocations: 8 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3196, allocations: 3.984 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.3196, allocations: 8.188 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.3197, allocations: 15.92 kB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3197, allocations: 4 kB / 440 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.3198, allocations: 4.312 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3198, allocations: 4 kB / 440 MB, free: 14.86 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.0001713/0.32, allocations: 158.3 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.3201, allocations: 73.48 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.3203, allocations: 115.4 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3203, allocations: 4 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3203, allocations: 0 / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3203, allocations: 3.984 kB / 440.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.3206, allocations: 212.5 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3206, allocations: 4 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.3206, allocations: 7.984 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3206, allocations: 0 / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.3206, allocations: 8 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3206, allocations: 0 / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3206, allocations: 15.88 kB / 440.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.3209, allocations: 175.3 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.321, allocations: 31.89 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.321, allocations: 0 / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.3211, allocations: 15.98 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.3212, allocations: 4 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3212, allocations: 4 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3214, allocations: 205.2 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3214, allocations: 0 / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.3217, allocations: 35.92 kB / 441.1 MB, free: 13.71 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.001604/0.3233, allocations: 420.9 kB / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.3235, allocations: 79.91 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3235, allocations: 0 / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.3236, allocations: 23.92 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.3241, allocations: 74.28 kB / 441.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007268/0.3248, allocations: 376.1 kB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.3252, allocations: 0.7362 MB / 442.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.3253, allocations: 23.44 kB / 442.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3253, allocations: 0 / 442.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Templates: time 0.006638/0.3319, allocations: 2.862 MB / 445.6 MB, free: 9.223 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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: 7.751589548075572]