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.001473/0.001473, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.00194/0.00194, allocations: 215 kB / 23 MB, free: 5.609 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.593/1.593, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.001835/0.001835, allocations: 63.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3982, allocations: 53.32 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.004146/0.4023, allocations: 1.915 MB / 431.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.4051, allocations: 1.312 MB / 433 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.4053, allocations: 4 kB / 433 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.4057, allocations: 63.67 kB / 433.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.4061, allocations: 135.4 kB / 433.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.4069, allocations: 226.4 kB / 433.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.4071, allocations: 179.5 kB / 433.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.4073, allocations: 21.55 kB / 433.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.4074, allocations: 79.69 kB / 433.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.4075, allocations: 83.67 kB / 433.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.4076, allocations: 8 kB / 433.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.4077, allocations: 79.88 kB / 433.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.4078, allocations: 51.78 kB / 433.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.4079, allocations: 79.47 kB / 434 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.4083, allocations: 236.2 kB / 434.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4083, allocations: 0 / 434.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4083, allocations: 4 kB / 434.2 MB, free: 3.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.4084, allocations: 3.938 kB / 434.2 MB, free: 3.051 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.0008909/0.4092, allocations: 0.5464 MB / 434.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4093, allocations: 8.031 kB / 434.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.4094, allocations: 28.8 kB / 434.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.4099, allocations: 291.8 kB / 435.1 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4099, allocations: 4.375 kB / 435.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.4099, allocations: 12.3 kB / 435.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.4103, allocations: 163.9 kB / 435.3 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4103, allocations: 3.984 kB / 435.3 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.4104, allocations: 8 kB / 435.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4104, allocations: 0 / 435.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.4105, allocations: 35.92 kB / 435.3 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.4111, allocations: 382.4 kB / 435.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.4114, allocations: 119.8 kB / 435.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/0.4115, allocations: 42.56 kB / 435.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.4115, allocations: 4 kB / 435.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.4117, allocations: 75.38 kB / 435.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 3.597e-06/0.4117, allocations: 3.984 kB / 435.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004534/0.4122, allocations: 157.6 kB / 436.1 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.4123, allocations: 166.2 kB / 436.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.4127, allocations: 330.7 kB / 436.6 MB, free: 440 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.4127, allocations: 29.7 kB / 436.6 MB, free: 404 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.4128, allocations: 128.1 kB / 436.7 MB, free: 272 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.4129, allocations: 19.83 kB / 436.8 MB, free: 252 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.4129, allocations: 33.7 kB / 436.8 MB, free: 212 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.4131, allocations: 338.8 kB / 437.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.1e-05/0.4132, allocations: 23.98 kB / 437.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.4133, allocations: 82.92 kB / 437.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.4135, allocations: 92.16 kB / 437.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4135, allocations: 0 / 437.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002559/0.4138, allocations: 125.5 kB / 437.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4138, allocations: 7.938 kB / 437.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.4138, allocations: 4 kB / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4138, allocations: 4.125 kB / 437.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4139, allocations: 23.92 kB / 437.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4139, allocations: 0 / 437.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.733e-05/0.414, allocations: 8.297 kB / 437.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.414, allocations: 4 kB / 437.5 MB, free: 15.45 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.0001827/0.4142, allocations: 161.8 kB / 437.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.4143, allocations: 73.44 kB / 437.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.4146, allocations: 135.3 kB / 437.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4146, allocations: 0 / 437.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4146, allocations: 3.938 kB / 437.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.4146, allocations: 7.984 kB / 437.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.4149, allocations: 241.5 kB / 438.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.4149, allocations: 0 / 438.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.415, allocations: 11.98 kB / 438.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.415, allocations: 4 kB / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.415, allocations: 0 / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.415, allocations: 0 / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.415, allocations: 4 kB / 438.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.4153, allocations: 166.5 kB / 438.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.4154, allocations: 116.9 kB / 438.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.4155, allocations: 4 kB / 438.4 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.515e-05/0.4155, allocations: 4 kB / 438.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.4156, allocations: 11.98 kB / 438.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.4156, allocations: 8 kB / 438.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002735/0.4159, allocations: 245.9 kB / 438.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4159, allocations: 0 / 438.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.4162, allocations: 35.94 kB / 438.7 MB, free: 14.13 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * 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.001635/0.4178, allocations: 433.5 kB / 439.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.4181, allocations: 76.09 kB / 439.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4181, allocations: 0 / 439.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.4182, allocations: 27.98 kB / 439.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.4187, allocations: 68.25 kB / 439.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.4194, allocations: 372.8 kB / 439.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.4198, allocations: 0.7478 MB / 440.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.4199, allocations: 29.78 kB / 440.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.42, allocations: 23.44 kB / 440.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.42, allocations: 0 / 440.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Templates: time 0.008153/0.4281, allocations: 2.924 MB / 443.4 MB, free: 9.543 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.374537942931056]