Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001802/0.001802, 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.002087/0.002087, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.513/1.513, allocations: 230.5 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.84 kB / 374.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1116, allocations: 53.31 MB / 428.1 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003876/0.1155, allocations: 1.912 MB / 430 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.1179, allocations: 1.305 MB / 431.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.118, allocations: 0 / 431.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.1183, allocations: 67.67 kB / 431.3 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.1187, allocations: 131.4 kB / 431.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.1194, allocations: 219.3 kB / 431.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.1197, allocations: 187.5 kB / 431.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1198, allocations: 17.56 kB / 431.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1199, allocations: 87.56 kB / 432 MB, free: 468 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1201, allocations: 87.59 kB / 432 MB, free: 380 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.1201, allocations: 12 kB / 432.1 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.1203, allocations: 63.97 kB / 432.1 MB, free: 304 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.29e-05/0.1203, allocations: 51.81 kB / 432.2 MB, free: 252 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.1205, allocations: 79.42 kB / 432.2 MB, free: 172 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2207/0.3412, allocations: 240.1 kB / 432.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3412, allocations: 0 / 432.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.3412, allocations: 1.531 kB / 432.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3412, allocations: 0 / 432.5 MB, free: 8.418 MB / 350.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.0008332/0.3421, allocations: 0.5421 MB / 433 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3421, allocations: 10.19 kB / 433 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.3422, allocations: 23.55 kB / 433.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.3426, allocations: 297.7 kB / 433.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3426, allocations: 7.625 kB / 433.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.3426, allocations: 7.031 kB / 433.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.343, allocations: 166.2 kB / 433.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.343, allocations: 0 / 433.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.343, allocations: 2.219 kB / 433.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.343, allocations: 2.031 kB / 433.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3431, allocations: 37.28 kB / 433.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.3436, allocations: 387.2 kB / 433.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.3438, allocations: 112.5 kB / 434.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.449e-05/0.3439, allocations: 47.41 kB / 434.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.3439, allocations: 2.547 kB / 434.1 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.3441, allocations: 80.34 kB / 434.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.3441, allocations: 0 / 434.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003856/0.3445, allocations: 152.2 kB / 434.3 MB, free: 7.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.3445, allocations: 165 kB / 434.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.3449, allocations: 340 kB / 434.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3449, allocations: 27.42 kB / 434.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.345, allocations: 133.6 kB / 435 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.345, allocations: 19 kB / 435 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.345, allocations: 27.34 kB / 435 MB, free: 6.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.3451, allocations: 339.8 kB / 435.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.112e-05/0.3452, allocations: 27.17 kB / 435.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.78e-05/0.3453, allocations: 90.66 kB / 435.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3454, allocations: 82.02 kB / 435.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3454, allocations: 0.5625 kB / 435.6 MB, free: 6.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002048/0.3456, allocations: 127.2 kB / 435.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3456, allocations: 5.594 kB / 435.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3456, allocations: 2.719 kB / 435.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3456, allocations: 1.562 kB / 435.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3457, allocations: 28.56 kB / 435.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3457, allocations: 1.094 kB / 435.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.548e-05/0.3458, allocations: 8.812 kB / 435.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3458, allocations: 5.125 kB / 435.7 MB, free: 6.23 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.0001001/0.3459, allocations: 160.9 kB / 435.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.346, allocations: 76.28 kB / 436 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.375e-05/0.3461, allocations: 25.88 kB / 436 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3461, allocations: 2.438 kB / 436 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3461, allocations: 1.031 kB / 436 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3461, allocations: 1.953 kB / 436 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.3462, allocations: 251.8 kB / 436.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3462, allocations: 3.875 kB / 436.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.3463, allocations: 10.16 kB / 436.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3463, allocations: 5.562 kB / 436.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3463, allocations: 2.328 kB / 436.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3463, allocations: 5.188 kB / 436.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3463, allocations: 1.031 kB / 436.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.3466, allocations: 167.6 kB / 436.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.3466, allocations: 114.3 kB / 436.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.3467, allocations: 12.16 kB / 436.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.3467, allocations: 2.156 kB / 436.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.3468, allocations: 11.56 kB / 436.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.3468, allocations: 3.406 kB / 436.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.347, allocations: 250.7 kB / 436.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.347, allocations: 0 / 436.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3473, allocations: 40.14 kB / 436.9 MB, free: 5.566 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001471/0.3488, allocations: 422.8 kB / 437.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.349, allocations: 75.56 kB / 437.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.349, allocations: 0 / 437.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.3491, allocations: 25.78 kB / 437.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.3495, allocations: 63.78 kB / 437.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.3501, allocations: 408.5 kB / 437.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.3503, allocations: 0.7445 MB / 438.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.3504, allocations: 19.52 kB / 438.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3504, allocations: 1.062 kB / 438.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of Templates: time 0.006287/0.3567, allocations: 2.987 MB / 441.6 MB, free: 4.188 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.918209193041548]