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.0009682/0.0009682, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.0012/0.0012, allocations: 143.7 kB / 24.97 MB, free: 8.375 MB / 18.57 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.029/1.029, allocations: 173.4 MB / 201.5 MB, free: 9.352 MB / 186.7 MB " [Timeout remaining time 179] 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 1.713e-06/1.713e-06, allocations: 0 / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.543e-05, allocations: 6.25 kB / 268.1 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.005346/0.005382, allocations: 1.905 MB / 270 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.007357, allocations: 1.114 MB / 271.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.007587, allocations: 7.938 kB / 271.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003961/0.007983, allocations: 71.59 kB / 271.2 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.008273, allocations: 91.53 kB / 271.3 MB, free: 3.535 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.008902, allocations: 255.1 kB / 271.5 MB, free: 3.285 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.0091, allocations: 171.4 kB / 271.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.009211, allocations: 29.73 kB / 271.7 MB, free: 3.086 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.009321, allocations: 99.72 kB / 271.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.009448, allocations: 71.8 kB / 271.9 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.009468, allocations: 8 kB / 271.9 MB, free: 2.91 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.009581, allocations: 63.94 kB / 271.9 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.009654, allocations: 59.77 kB / 272 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.00971, allocations: 35.86 kB / 272 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.009973, allocations: 191.2 kB / 272.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.009976, allocations: 0 / 272.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.009978, allocations: 0 / 272.2 MB, free: 2.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.009983, allocations: 0 / 272.2 MB, free: 2.566 MB / 250.7 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.0006267/0.01061, allocations: 0.5555 MB / 272.8 MB, free: 1.969 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.01064, allocations: 16.03 kB / 272.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.01071, allocations: 32.73 kB / 272.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.01096, allocations: 223.6 kB / 273 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.01098, allocations: 384 / 273 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.01099, allocations: 12.38 kB / 273.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.01128, allocations: 194.2 kB / 273.2 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01129, allocations: 3.938 kB / 273.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.0113, allocations: 4 kB / 273.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.01131, allocations: 0 / 273.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.262e-05/0.01137, allocations: 27.91 kB / 273.3 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.01173, allocations: 363 kB / 273.6 MB, free: 1.004 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.01188, allocations: 121.3 kB / 273.8 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.01193, allocations: 47.05 kB / 273.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.01194, allocations: 0 / 273.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.01205, allocations: 77.03 kB / 273.9 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.01205, allocations: 3.938 kB / 273.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002242/0.01227, allocations: 117.7 kB / 274 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.01233, allocations: 140.5 kB / 274.1 MB, free: 416 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.01266, allocations: 316.3 kB / 274.4 MB, free: 80 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.01268, allocations: 29.7 kB / 274.5 MB, free: 44 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.01276, allocations: 187 kB / 274.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.01279, allocations: 15.84 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.01283, allocations: 35.36 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.01293, allocations: 0.5001 MB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.01296, allocations: 11.98 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.01301, allocations: 110.1 kB / 275.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.384e-05/0.01307, allocations: 43.31 kB / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.01307, allocations: 0 / 275.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.319e-05/0.01316, allocations: 85.53 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01317, allocations: 8.062 kB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.01318, allocations: 0 / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.01319, allocations: 0 / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.83e-05/0.01326, allocations: 19.98 kB / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01326, allocations: 0 / 275.5 MB, free: 14.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.0133, allocations: 7.953 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.01331, allocations: 4 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.798e-05/0.01338, allocations: 172.4 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.967e-05/0.01343, allocations: 61.56 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.01357, allocations: 107.5 kB / 275.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.01357, allocations: 4 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01358, allocations: 0 / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.01358, allocations: 3.984 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.01371, allocations: 192.5 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01371, allocations: 0 / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.01375, allocations: 12 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01376, allocations: 3.984 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.01377, allocations: 4 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01377, allocations: 4.062 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01377, allocations: 4 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.01391, allocations: 175.5 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.827e-05/0.01396, allocations: 39.77 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.01398, allocations: 0 / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.01401, allocations: 8 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.01405, allocations: 15.91 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.01407, allocations: 8 kB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.01418, allocations: 217.1 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01418, allocations: 0 / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.01435, allocations: 31.94 kB / 276.5 MB, free: 13.82 MB / 266.7 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.0008171/0.01516, allocations: 398.4 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.01529, allocations: 55.59 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01529, allocations: 4 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.338e-05/0.01534, allocations: 31.66 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.01559, allocations: 68.2 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.01597, allocations: 326 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.01602, allocations: 83.98 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.045e-05/0.01607, allocations: 25.72 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.01611, allocations: 24.5 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01611, allocations: 0 / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of Templates: time 0.004938/0.02105, allocations: 3.002 MB / 280.5 MB, free: 9.953 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9701183158904314]