Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 116.9 kB / 18.41 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001633, allocations: 190.9 kB / 21.35 MB, free: 1.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 222.9 MB / 247 MB, free: 4.07 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 59.89 kB / 358.7 MB, free: 8.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1035, allocations: 49.43 MB / 408.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.004236/0.1078, allocations: 1.875 MB / 410 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1098, allocations: 1.142 MB / 411.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1101, allocations: 0 / 411.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.1104, allocations: 63.66 kB / 411.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.1107, allocations: 91.59 kB / 411.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.1115, allocations: 262.1 kB / 411.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.1118, allocations: 167.5 kB / 411.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.112, allocations: 37.47 kB / 411.7 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1121, allocations: 79.62 kB / 411.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1122, allocations: 75.69 kB / 411.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1123, allocations: 8 kB / 411.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.1124, allocations: 71.94 kB / 411.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.183e-05/0.1125, allocations: 47.84 kB / 412 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.395e-05/0.1126, allocations: 79.42 kB / 412.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.113, allocations: 239 kB / 412.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.113, allocations: 0 / 412.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1131, allocations: 0 / 412.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1131, allocations: 0 / 412.3 MB, free: 2.484 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.0007844/0.1139, allocations: 0.5387 MB / 412.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.1139, allocations: 11.89 kB / 412.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/0.114, allocations: 24.8 kB / 412.9 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.1144, allocations: 291.8 kB / 413.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.1145, allocations: 8.359 kB / 413.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1145, allocations: 12.12 kB / 413.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.1149, allocations: 163.6 kB / 413.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1149, allocations: 0 / 413.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.1149, allocations: 4 kB / 413.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1149, allocations: 3.938 kB / 413.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1151, allocations: 31.98 kB / 413.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.1157, allocations: 386.3 kB / 413.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.116, allocations: 119.9 kB / 413.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.378e-05/0.1161, allocations: 46.56 kB / 413.9 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1161, allocations: 8.062 kB / 413.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.1163, allocations: 83.25 kB / 414 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.1163, allocations: 0 / 414 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004181/0.1167, allocations: 149.5 kB / 414.2 MB, free: 408 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.1168, allocations: 158.2 kB / 414.3 MB, free: 212 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.1172, allocations: 330.7 kB / 414.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1173, allocations: 25.7 kB / 414.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1174, allocations: 124.4 kB / 414.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.1174, allocations: 23.84 kB / 414.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.1175, allocations: 33.66 kB / 414.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1176, allocations: 338.8 kB / 415.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.708e-05/0.1177, allocations: 24.23 kB / 415.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.1178, allocations: 82.8 kB / 415.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.118, allocations: 88.22 kB / 415.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.118, allocations: 4 kB / 415.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002382/0.1183, allocations: 125.5 kB / 415.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1183, allocations: 4 kB / 415.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1183, allocations: 7.938 kB / 415.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1183, allocations: 0 / 415.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1185, allocations: 23.98 kB / 415.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1185, allocations: 0 / 415.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.1186, allocations: 11.89 kB / 415.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1186, allocations: 4 kB / 415.5 MB, free: 14.9 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.0001588/0.1187, allocations: 161.8 kB / 415.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.1188, allocations: 65.56 kB / 415.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.1189, allocations: 29.7 kB / 415.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1189, allocations: 3.938 kB / 415.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1189, allocations: 4 kB / 415.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1189, allocations: 3.938 kB / 415.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.1192, allocations: 237.5 kB / 416 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.1192, allocations: 3.984 kB / 416 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.1193, allocations: 11.94 kB / 416 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1193, allocations: 4 kB / 416 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1193, allocations: 4.062 kB / 416.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1193, allocations: 64 / 416.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1193, allocations: 8 kB / 416.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.1196, allocations: 162.5 kB / 416.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.1197, allocations: 116.9 kB / 416.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1198, allocations: 4.047 kB / 416.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.1198, allocations: 7.984 kB / 416.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.1199, allocations: 15.98 kB / 416.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1199, allocations: 7.938 kB / 416.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002535/0.1202, allocations: 241.9 kB / 416.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1202, allocations: 0 / 416.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.1205, allocations: 35.94 kB / 416.6 MB, free: 13.68 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.001568/0.1221, allocations: 436.6 kB / 417.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.1223, allocations: 71.91 kB / 417.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1223, allocations: 0 / 417.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.1224, allocations: 27.98 kB / 417.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.1229, allocations: 72.34 kB / 417.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007265/0.1236, allocations: 394.8 kB / 417.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.1241, allocations: 0.7475 MB / 418.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.1241, allocations: 15.44 kB / 418.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1242, allocations: 4 kB / 418.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Templates: time 0.005904/0.1301, allocations: 2.92 MB / 421.3 MB, free: 9.133 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.787682252004743]