Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001285/0.001285, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001416/0.001416, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.533/1.533, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 59.89 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3091, allocations: 53.41 MB / 432.4 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.004081/0.3132, allocations: 1.88 MB / 434.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.3155, allocations: 1.152 MB / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.3156, allocations: 7.938 kB / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006591/0.3163, allocations: 155.5 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004206/0.3167, allocations: 159.4 kB / 435.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.3172, allocations: 170.9 kB / 435.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000319/0.3175, allocations: 191.5 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3176, allocations: 29.47 kB / 436.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3177, allocations: 83.62 kB / 436.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.3179, allocations: 75.61 kB / 436.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.3179, allocations: 8 kB / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.3181, allocations: 55.97 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.3181, allocations: 51.83 kB / 436.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.3182, allocations: 55.61 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003478/0.3186, allocations: 213.9 kB / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3186, allocations: 0 / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3186, allocations: 4 kB / 436.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.3186, allocations: 0 / 436.7 MB, free: 2.223 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008186/0.3194, allocations: 446.7 kB / 437.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3194, allocations: 11.98 kB / 437.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.3195, allocations: 24.8 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.3199, allocations: 213.1 kB / 437.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3199, allocations: 8.375 kB / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.3199, allocations: 4.375 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.3203, allocations: 142.2 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3203, allocations: 0 / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3203, allocations: 0 / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.3203, allocations: 4 kB / 437.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.3204, allocations: 43.91 kB / 437.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.3209, allocations: 294.1 kB / 437.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.3212, allocations: 123.7 kB / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.3213, allocations: 42.56 kB / 438 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.3213, allocations: 0 / 438 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3215, allocations: 75.39 kB / 438.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3215, allocations: 0 / 438.1 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004015/0.3219, allocations: 149.4 kB / 438.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/0.322, allocations: 110.8 kB / 438.3 MB, free: 376 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.3223, allocations: 277 kB / 438.6 MB, free: 92 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3223, allocations: 29.7 kB / 438.6 MB, free: 56 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3224, allocations: 116.1 kB / 438.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.3224, allocations: 15.89 kB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.3225, allocations: 33.67 kB / 438.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3227, allocations: 334.8 kB / 439.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.264e-05/0.3227, allocations: 20.25 kB / 439.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3228, allocations: 98.77 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.323, allocations: 84.41 kB / 439.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.323, allocations: 0 / 439.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002093/0.3232, allocations: 113.5 kB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3232, allocations: 12.16 kB / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.3232, allocations: 3.938 kB / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3232, allocations: 0 / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.3233, allocations: 15.94 kB / 439.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3233, allocations: 3.984 kB / 439.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.3234, allocations: 15.95 kB / 439.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3234, allocations: 0 / 439.5 MB, free: 15.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.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 (11): * Single equations (assignments): 11 * 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.0001543/0.3236, allocations: 150.5 kB / 439.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.3236, allocations: 61.53 kB / 439.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.3239, allocations: 115.4 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3239, allocations: 3.938 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.3239, allocations: 7.938 kB / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3239, allocations: 0 / 439.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.3241, allocations: 169.2 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3241, allocations: 0 / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.014e-05/0.3241, allocations: 8 kB / 440 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3241, allocations: 0 / 440 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3241, allocations: 8 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3241, allocations: 3.984 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3241, allocations: 4 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3244, allocations: 158.6 kB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.3245, allocations: 31.84 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.334e-05/0.3245, allocations: 12.05 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.907e-05/0.3246, allocations: 4 kB / 440.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.3246, allocations: 7.984 kB / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.3246, allocations: 4 kB / 440.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.3249, allocations: 200.5 kB / 440.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3249, allocations: 0 / 440.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3251, allocations: 31.94 kB / 440.4 MB, free: 14.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,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 (10): * Single equations (assignments): 8 * 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.001639/0.3268, allocations: 446.3 kB / 440.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.327, allocations: 67.91 kB / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.327, allocations: 0 / 440.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.097e-05/0.3271, allocations: 31.92 kB / 441 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3275, allocations: 81.39 kB / 441 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/0.3281, allocations: 359.8 kB / 441.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.3283, allocations: 115.5 kB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.3283, allocations: 23.42 kB / 441.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3283, allocations: 0 / 441.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Templates: time 0.006152/0.3345, allocations: 2.717 MB / 444.2 MB, free: 10.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.389103792607784]