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.001992/0.001992, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.00208/0.00208, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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.559/1.559, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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 8.266e-06/8.266e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.989e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.004018/0.004058, allocations: 1.908 MB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002708/0.006766, allocations: 1.246 MB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/0.006905, allocations: 7.938 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.007279, allocations: 71.55 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.007722, allocations: 135.3 kB / 275.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.008486, allocations: 223.2 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.008812, allocations: 187.4 kB / 276 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.008968, allocations: 21.8 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.009178, allocations: 99.67 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.009341, allocations: 75.78 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.009376, allocations: 8 kB / 276.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.009581, allocations: 79.86 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.009689, allocations: 43.84 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.018e-05/0.009779, allocations: 43.8 kB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.01024, allocations: 243.2 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.01025, allocations: 7.984 kB / 276.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01025, allocations: 3.938 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.01026, allocations: 0 / 276.6 MB, free: 13.41 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.0009686/0.01123, allocations: 0.5786 MB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.01127, allocations: 11.98 kB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.018e-05/0.01136, allocations: 32.73 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.0118, allocations: 231.6 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.01184, allocations: 8.375 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.01186, allocations: 8.375 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.01228, allocations: 197.8 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01229, allocations: 192 / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.0123, allocations: 4.375 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.01231, allocations: 7.875 kB / 277.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.01243, allocations: 27.98 kB / 277.7 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.0131, allocations: 406.9 kB / 278.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.0134, allocations: 133.3 kB / 278.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.01351, allocations: 47.05 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.01354, allocations: 7.938 kB / 278.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.01373, allocations: 84.97 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.01373, allocations: 4 kB / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004237/0.01415, allocations: 137.5 kB / 278.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.01427, allocations: 136.5 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.01481, allocations: 372.6 kB / 279 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.01483, allocations: 29.7 kB / 279 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.01501, allocations: 194.8 kB / 279.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.01504, allocations: 15.91 kB / 279.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.01512, allocations: 39.36 kB / 279.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003185/0.01544, allocations: 0.5118 MB / 279.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.01551, allocations: 27.92 kB / 279.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.01564, allocations: 102.1 kB / 279.9 MB, free: 9.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.01577, allocations: 55.38 kB / 279.9 MB, free: 9.723 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01577, allocations: 0 / 279.9 MB, free: 9.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002228/0.01599, allocations: 113.4 kB / 280 MB, free: 9.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.01601, allocations: 4 kB / 280 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01601, allocations: 7.938 kB / 280.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01603, allocations: 0 / 280.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.01613, allocations: 12.3 kB / 280.1 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.01614, allocations: 4 kB / 280.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.01621, allocations: 4 kB / 280.1 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.01622, allocations: 4 kB / 280.1 MB, free: 9.57 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 0.0001661/0.01639, allocations: 176.5 kB / 280.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.01651, allocations: 81.53 kB / 280.3 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.01681, allocations: 111.4 kB / 280.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01682, allocations: 4 kB / 280.4 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.01682, allocations: 0 / 280.4 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01683, allocations: 0 / 280.4 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.01711, allocations: 220.6 kB / 280.7 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.01711, allocations: 4 kB / 280.7 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.978e-05/0.01718, allocations: 11.98 kB / 280.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.01719, allocations: 7.938 kB / 280.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.0172, allocations: 4 kB / 280.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.0172, allocations: 0 / 280.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.01721, allocations: 8.031 kB / 280.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.01754, allocations: 183.5 kB / 280.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.661e-05/0.01764, allocations: 39.72 kB / 280.9 MB, free: 8.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.01767, allocations: 8 kB / 280.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-05/0.01773, allocations: 0 / 280.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.0178, allocations: 11.98 kB / 280.9 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.01782, allocations: 7.984 kB / 280.9 MB, free: 8.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002761/0.0181, allocations: 245.1 kB / 281.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0181, allocations: 0 / 281.2 MB, free: 8.375 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.01836, allocations: 35.92 kB / 281.2 MB, free: 8.34 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.00332/0.02168, allocations: 454.8 kB / 281.7 MB, free: 8.039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.02196, allocations: 63.59 kB / 281.7 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02196, allocations: 0 / 281.7 MB, free: 7.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.02206, allocations: 35.67 kB / 281.8 MB, free: 7.934 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.02255, allocations: 67.92 kB / 281.8 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/0.0233, allocations: 361.4 kB / 282.2 MB, free: 7.477 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.02347, allocations: 131.9 kB / 282.3 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.056e-05/0.02355, allocations: 17.48 kB / 282.3 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.02362, allocations: 28.48 kB / 282.3 MB, free: 7.285 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02362, allocations: 0 / 282.3 MB, free: 7.285 MB / 266.7 MB Notification: Performance of Templates: time 0.008379/0.032, allocations: 3.038 MB / 285.4 MB, free: 4.285 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","/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: 4.523625870002434]