Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 116 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 254.8 MB, free: 15.11 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 55.91 kB / 374.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.1002, allocations: 53.34 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003754/0.1039, allocations: 1.899 MB / 429.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1063, allocations: 1.305 MB / 430.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.1065, allocations: 7.938 kB / 430.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.1068, allocations: 67.66 kB / 430.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.1072, allocations: 131.4 kB / 430.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.1079, allocations: 227.3 kB / 431.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.1082, allocations: 175.5 kB / 431.3 MB, free: 476 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1083, allocations: 25.53 kB / 431.3 MB, free: 452 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1085, allocations: 75.64 kB / 431.4 MB, free: 376 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1086, allocations: 83.67 kB / 431.5 MB, free: 292 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.1086, allocations: 8 kB / 431.5 MB, free: 284 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1088, allocations: 75.88 kB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.049e-05/0.1089, allocations: 51.78 kB / 431.6 MB, free: 156 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.109, allocations: 79.47 kB / 431.7 MB, free: 76 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1856/0.2946, allocations: 247.8 kB / 431.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2946, allocations: 1.312 kB / 431.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2946, allocations: 0 / 431.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.2946, allocations: 0 / 431.9 MB, free: 8.371 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.0008963/0.2955, allocations: 0.5404 MB / 432.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2955, allocations: 8.812 kB / 432.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.162e-05/0.2956, allocations: 24.17 kB / 432.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.2961, allocations: 295.5 kB / 432.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2961, allocations: 6.75 kB / 432.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.2961, allocations: 7.031 kB / 432.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.2965, allocations: 160.3 kB / 432.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2965, allocations: 4.984 kB / 433 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.2965, allocations: 2.125 kB / 433 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2965, allocations: 1.562 kB / 433 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.2967, allocations: 35.5 kB / 433 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.2972, allocations: 388.5 kB / 433.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.2975, allocations: 115.1 kB / 433.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.561e-05/0.2976, allocations: 45.78 kB / 433.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.2976, allocations: 8.766 kB / 433.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.2978, allocations: 75.86 kB / 433.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.2978, allocations: 0 / 433.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004598/0.2982, allocations: 153.8 kB / 433.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/0.2983, allocations: 164.7 kB / 433.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.2987, allocations: 333 kB / 434.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2987, allocations: 30.83 kB / 434.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.2988, allocations: 136.9 kB / 434.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.2988, allocations: 20.12 kB / 434.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.2989, allocations: 34.62 kB / 434.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.621e-05/0.2989, allocations: 332.3 kB / 434.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.832e-05/0.299, allocations: 24.62 kB / 434.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.2991, allocations: 89.11 kB / 434.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2992, allocations: 85.94 kB / 435 MB, free: 6.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2992, allocations: 0.7656 kB / 435 MB, free: 6.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002265/0.2995, allocations: 130.2 kB / 435.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2995, allocations: 5.625 kB / 435.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2995, allocations: 1.625 kB / 435.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.2995, allocations: 1.875 kB / 435.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.2996, allocations: 18.81 kB / 435.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.2996, allocations: 1.062 kB / 435.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.301e-05/0.2997, allocations: 17.61 kB / 435.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.2997, allocations: 3.594 kB / 435.2 MB, free: 6.188 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.0001273/0.2998, allocations: 155.8 kB / 435.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.2999, allocations: 70.23 kB / 435.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.197e-05/0.3, allocations: 30.94 kB / 435.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3, allocations: 2.188 kB / 435.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3, allocations: 1.219 kB / 435.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3, allocations: 0 / 435.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3002, allocations: 245.3 kB / 435.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3002, allocations: 0.625 kB / 435.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.3003, allocations: 14.59 kB / 435.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3003, allocations: 1.562 kB / 435.7 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3003, allocations: 7.984 kB / 435.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3003, allocations: 1.062 kB / 435.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3003, allocations: 2.375 kB / 435.7 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3005, allocations: 168.1 kB / 435.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-05/0.3006, allocations: 117.5 kB / 436 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.3007, allocations: 11.08 kB / 436 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.3007, allocations: 4.297 kB / 436 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.3008, allocations: 10.27 kB / 436 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.3008, allocations: 4.562 kB / 436 MB, free: 5.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.301, allocations: 248.8 kB / 436.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.301, allocations: 0 / 436.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.3013, allocations: 39.47 kB / 436.3 MB, free: 5.527 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.00158/0.3029, allocations: 437.8 kB / 436.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.3032, allocations: 73.73 kB / 436.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3032, allocations: 0 / 436.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.3033, allocations: 24.84 kB / 436.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.3038, allocations: 62.92 kB / 436.9 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007658/0.3045, allocations: 407 kB / 437.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3047, allocations: 0.7419 MB / 438 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.3048, allocations: 25.44 kB / 438 MB, free: 4.43 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3048, allocations: 0 / 438 MB, free: 4.43 MB / 350.1 MB Notification: Performance of Templates: time 0.007498/0.3123, allocations: 2.982 MB / 441 MB, free: 4.133 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.694395539001562]