Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001386/0.001386, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00145/0.00145, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.498/1.498, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 63.89 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.293, allocations: 53.41 MB / 431.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.004639/0.2977, allocations: 1.864 MB / 433.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.3004, allocations: 1.227 MB / 434.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.3006, allocations: 7.938 kB / 434.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.301, allocations: 67.67 kB / 434.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005536/0.3015, allocations: 135.4 kB / 434.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009296/0.3025, allocations: 238.1 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.3029, allocations: 179.5 kB / 435.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.303, allocations: 13.75 kB / 435.3 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.3032, allocations: 83.62 kB / 435.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.3034, allocations: 91.61 kB / 435.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.3034, allocations: 8 kB / 435.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.3037, allocations: 67.94 kB / 435.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3038, allocations: 55.83 kB / 435.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.526e-05/0.3039, allocations: 67.47 kB / 435.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.3043, allocations: 241.3 kB / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3043, allocations: 0 / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.3043, allocations: 0 / 435.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3043, allocations: 0 / 435.9 MB, free: 2.168 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.0009303/0.3053, allocations: 478.4 kB / 436.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3053, allocations: 15.98 kB / 436.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.168e-05/0.3054, allocations: 24.8 kB / 436.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.3059, allocations: 237.5 kB / 436.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.3059, allocations: 4.375 kB / 436.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3059, allocations: 8.375 kB / 436.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.3064, allocations: 180 kB / 436.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3064, allocations: 3.938 kB / 436.9 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3064, allocations: 4 kB / 436.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3064, allocations: 0 / 436.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.3066, allocations: 35.98 kB / 436.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.3072, allocations: 322 kB / 437.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.3075, allocations: 115.9 kB / 437.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.3076, allocations: 42.56 kB / 437.4 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.3077, allocations: 7.984 kB / 437.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.3079, allocations: 79.33 kB / 437.5 MB, free: 480 kB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 2.816e-06/0.3079, allocations: 0 / 437.5 MB, free: 480 kB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004981/0.3084, allocations: 157.4 kB / 437.6 MB, free: 316 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.3085, allocations: 140.5 kB / 437.8 MB, free: 144 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004947/0.309, allocations: 329.9 kB / 438.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.3091, allocations: 33.7 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.3092, allocations: 124.1 kB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.3092, allocations: 27.77 kB / 438.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.3093, allocations: 37.95 kB / 438.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.3095, allocations: 334.7 kB / 438.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.3095, allocations: 27.98 kB / 438.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.3097, allocations: 137.5 kB / 438.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3099, allocations: 88.47 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3099, allocations: 4 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002706/0.3101, allocations: 133.4 kB / 439 MB, free: 14.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3102, allocations: 7.938 kB / 439 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3102, allocations: 4 kB / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.3102, allocations: 0 / 439 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3103, allocations: 23.97 kB / 439 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.3103, allocations: 0 / 439 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.531e-05/0.3104, allocations: 8 kB / 439.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.3104, allocations: 4 kB / 439.1 MB, free: 14.76 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,table.y,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.0001731/0.3106, allocations: 166.6 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.3107, allocations: 65.52 kB / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.311, allocations: 123.3 kB / 439.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.311, allocations: 4 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.311, allocations: 0 / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.311, allocations: 0 / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.3112, allocations: 181.1 kB / 439.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3112, allocations: 4 kB / 439.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.3113, allocations: 11.98 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3113, allocations: 4.062 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3113, allocations: 8 kB / 439.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3113, allocations: 0 / 439.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.3113, allocations: 7.938 kB / 439.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.3116, allocations: 174.5 kB / 439.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.3117, allocations: 43.75 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.3118, allocations: 8 kB / 439.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.3118, allocations: 0 / 439.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.3119, allocations: 11.98 kB / 439.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.3119, allocations: 8.062 kB / 439.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.3122, allocations: 249.2 kB / 440.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3122, allocations: 4 kB / 440.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.3125, allocations: 35.94 kB / 440.1 MB, free: 13.59 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,table.y,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.001718/0.3142, allocations: 437.4 kB / 440.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3144, allocations: 67.91 kB / 440.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3144, allocations: 0 / 440.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3145, allocations: 40.16 kB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.315, allocations: 74.75 kB / 440.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/0.3157, allocations: 384.8 kB / 441.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001572/0.3159, allocations: 131.9 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.316, allocations: 33.8 kB / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.316, allocations: 23.42 kB / 441.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.316, allocations: 3.938 kB / 441.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of Templates: time 0.008131/0.3242, allocations: 3.167 MB / 444.5 MB, free: 9.383 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.576561827212572]