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.001043/0.001043, allocations: 85.81 kB / 21.43 MB, free: 3.066 MB / 18.57 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.001245/0.001245, allocations: 163.2 kB / 24.82 MB, free: 9.25 MB / 18.57 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.062/1.062, allocations: 177 MB / 205.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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 1.553e-06/1.553e-06, allocations: 0 / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.8e-05, allocations: 2.312 kB / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003219/0.003247, allocations: 1.927 MB / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.005172, allocations: 1.25 MB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.005348, allocations: 0 / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.005678, allocations: 63.67 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.006056, allocations: 139.3 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.006713, allocations: 235 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.006965, allocations: 183.5 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.007071, allocations: 17.8 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.007211, allocations: 103.7 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.007333, allocations: 67.84 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.007363, allocations: 8 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.007543, allocations: 71.88 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.007616, allocations: 63.77 kB / 277.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.007668, allocations: 35.86 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.007926, allocations: 187.2 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.007928, allocations: 3.938 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.00793, allocations: 0 / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.007934, allocations: 0 / 277.7 MB, free: 12.88 MB / 266.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.0005801/0.008514, allocations: 0.575 MB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.008559, allocations: 11.98 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.9e-05/0.008618, allocations: 32.8 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.008852, allocations: 227.5 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.008872, allocations: 4.375 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.008885, allocations: 8.375 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.009111, allocations: 145.2 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.00912, allocations: 192 / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.009129, allocations: 4.375 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.475e-06/0.009136, allocations: 3.938 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.089e-05/0.009177, allocations: 23.92 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.009521, allocations: 327.7 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.00965, allocations: 113.3 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.009683, allocations: 31.06 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.009706, allocations: 11.97 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.821e-05/0.009805, allocations: 76.91 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.009806, allocations: 8 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002659/0.01007, allocations: 113.5 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.01014, allocations: 114.8 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.01038, allocations: 312.2 kB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.01041, allocations: 29.7 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/0.01049, allocations: 182.8 kB / 280 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.01052, allocations: 19.88 kB / 280 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.01056, allocations: 27.38 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.0107, allocations: 0.5159 MB / 280.5 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.01073, allocations: 4.25 kB / 280.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/0.01077, allocations: 68.73 kB / 280.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.01082, allocations: 43.3 kB / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01083, allocations: 0 / 280.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001028/0.01093, allocations: 89.48 kB / 280.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.01094, allocations: 7.125 kB / 280.7 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01095, allocations: 0 / 280.7 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.01096, allocations: 0 / 280.7 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.538e-05/0.01104, allocations: 23.98 kB / 280.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.01104, allocations: 3.938 kB / 280.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.01108, allocations: 7.938 kB / 280.8 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.01108, allocations: 4 kB / 280.8 MB, free: 9.449 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 9.468e-05/0.01118, allocations: 156.6 kB / 280.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.01124, allocations: 73.42 kB / 281 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.01137, allocations: 95.44 kB / 281.1 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.01137, allocations: 4 kB / 281.1 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01137, allocations: 4.062 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01138, allocations: 0 / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.01151, allocations: 157.1 kB / 281.3 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.01151, allocations: 4 kB / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.01156, allocations: 15.92 kB / 281.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01157, allocations: 0 / 281.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.01157, allocations: 4 kB / 281.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01158, allocations: 3.938 kB / 281.3 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.01158, allocations: 8.297 kB / 281.3 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.01171, allocations: 143.6 kB / 281.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.01176, allocations: 35.84 kB / 281.5 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.01178, allocations: 11.98 kB / 281.5 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/0.01181, allocations: 3.938 kB / 281.5 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.01185, allocations: 15.92 kB / 281.5 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.01187, allocations: 4 kB / 281.5 MB, free: 8.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.01197, allocations: 217.1 kB / 281.7 MB, free: 8.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01197, allocations: 0 / 281.7 MB, free: 8.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.01216, allocations: 31.94 kB / 281.8 MB, free: 8.398 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.0008446/0.01301, allocations: 393.4 kB / 282.1 MB, free: 8.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.01313, allocations: 47.59 kB / 282.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01313, allocations: 4 kB / 282.2 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.01317, allocations: 23.67 kB / 282.2 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.01343, allocations: 76.95 kB / 282.3 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.01383, allocations: 345.1 kB / 282.6 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.01388, allocations: 83.97 kB / 282.7 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.01393, allocations: 21.62 kB / 282.7 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.01403, allocations: 106.2 kB / 282.8 MB, free: 7.363 MB / 266.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01404, allocations: 4.188 kB / 282.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of Templates: time 0.005104/0.01914, allocations: 3.22 MB / 286.1 MB, free: 4.188 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9516828418709338]