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.00187/0.00187, allocations: 111.9 kB / 19.17 MB, free: 3.895 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.002422/0.002422, allocations: 212.9 kB / 22.13 MB, free: 0.9375 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.45/1.45, allocations: 230.2 MB / 255.1 MB, free: 15.38 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.00188/0.00188, allocations: 59.91 kB / 374.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.09978, allocations: 53.32 MB / 427.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003429/0.1032, allocations: 1.901 MB / 429.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1054, allocations: 1.306 MB / 431 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1055, allocations: 4 kB / 431 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.1058, allocations: 71.61 kB / 431.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003863/0.1062, allocations: 135.4 kB / 431.2 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.1069, allocations: 214.5 kB / 431.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.1071, allocations: 179.5 kB / 431.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.1072, allocations: 21.56 kB / 431.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1074, allocations: 83.62 kB / 431.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1075, allocations: 87.59 kB / 431.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.1076, allocations: 8 kB / 431.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.1077, allocations: 63.97 kB / 431.9 MB, free: 452 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.684e-05/0.1078, allocations: 59.81 kB / 431.9 MB, free: 392 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.89e-05/0.1079, allocations: 79.36 kB / 432 MB, free: 312 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.1083, allocations: 243 kB / 432.3 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1083, allocations: 0 / 432.3 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1083, allocations: 4 kB / 432.3 MB, free: 64 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1083, allocations: 4 kB / 432.3 MB, free: 60 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007888/0.1091, allocations: 0.5465 MB / 432.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1091, allocations: 8.031 kB / 432.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.1092, allocations: 24.8 kB / 432.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.1096, allocations: 291.8 kB / 433.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1096, allocations: 4.375 kB / 433.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1097, allocations: 8.375 kB / 433.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.11, allocations: 155.9 kB / 433.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.11, allocations: 3.938 kB / 433.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1101, allocations: 7.984 kB / 433.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1101, allocations: 4 kB / 433.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1102, allocations: 39.97 kB / 433.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.1107, allocations: 390.3 kB / 433.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.111, allocations: 115.9 kB / 433.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.038e-05/0.1111, allocations: 38.56 kB / 433.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1111, allocations: 7.984 kB / 433.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.1113, allocations: 79.33 kB / 434 MB, free: 14.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1113, allocations: 0 / 434 MB, free: 14.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004126/0.1117, allocations: 153.4 kB / 434.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.1118, allocations: 158.2 kB / 434.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.1122, allocations: 342.6 kB / 434.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1122, allocations: 29.95 kB / 434.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1123, allocations: 132.1 kB / 434.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1123, allocations: 15.89 kB / 434.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.433e-05/0.1124, allocations: 29.72 kB / 434.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1126, allocations: 338.8 kB / 435.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.1126, allocations: 27.92 kB / 435.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1128, allocations: 87.05 kB / 435.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.1129, allocations: 88.2 kB / 435.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1129, allocations: 0 / 435.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002493/0.1132, allocations: 129.4 kB / 435.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1132, allocations: 4 kB / 435.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1132, allocations: 4 kB / 435.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1132, allocations: 0 / 435.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1133, allocations: 19.98 kB / 435.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1133, allocations: 0 / 435.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.1134, allocations: 11.94 kB / 435.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1134, allocations: 4 kB / 435.5 MB, free: 12.46 MB / 366.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.0001692/0.1136, allocations: 169.8 kB / 435.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.271e-05/0.1137, allocations: 65.52 kB / 435.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.1137, allocations: 25.7 kB / 435.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1137, allocations: 0 / 435.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1137, allocations: 4 kB / 435.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.1137, allocations: 11.86 kB / 435.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.114, allocations: 245.6 kB / 436 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.114, allocations: 3.938 kB / 436 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.458e-05/0.1141, allocations: 15.98 kB / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1141, allocations: 4.062 kB / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1141, allocations: 0 / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1141, allocations: 4 kB / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1141, allocations: 64 / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.1144, allocations: 170.5 kB / 436.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1145, allocations: 116.9 kB / 436.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.1145, allocations: 4 kB / 436.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.1146, allocations: 8 kB / 436.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.1146, allocations: 7.984 kB / 436.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.1147, allocations: 4 kB / 436.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002686/0.1149, allocations: 253.9 kB / 436.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1149, allocations: 0 / 436.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1152, allocations: 31.94 kB / 436.6 MB, free: 11.23 MB / 366.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.001509/0.1167, allocations: 423.9 kB / 437 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.117, allocations: 75.91 kB / 437.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.117, allocations: 3.938 kB / 437.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.1171, allocations: 23.98 kB / 437.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.1175, allocations: 72.72 kB / 437.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/0.1183, allocations: 407 kB / 437.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.1187, allocations: 0.7397 MB / 438.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.1187, allocations: 23.42 kB / 438.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1187, allocations: 4 kB / 438.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of Templates: time 0.005698/0.1244, allocations: 2.985 MB / 441.4 MB, free: 6.582 MB / 366.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/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_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: 7.476653771940619]