Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00173/0.00173, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00236/0.00236, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.641/1.641, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3632, allocations: 50.54 MB / 409.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.00426/0.3675, allocations: 1.917 MB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.3703, allocations: 1.309 MB / 412.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002682/0.3706, allocations: 7.938 kB / 412.5 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.3712, allocations: 63.67 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005855/0.3718, allocations: 139.4 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.3728, allocations: 230.9 kB / 412.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.3732, allocations: 191.5 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3734, allocations: 33.66 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.3735, allocations: 87.62 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.3737, allocations: 87.55 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.428e-05/0.3738, allocations: 8 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.374, allocations: 71.95 kB / 413.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.3741, allocations: 51.83 kB / 413.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.3743, allocations: 91.28 kB / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004267/0.3747, allocations: 247.1 kB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3747, allocations: 4 kB / 413.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.3747, allocations: 0 / 413.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3747, allocations: 0 / 413.7 MB, free: 13.06 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001212/0.376, allocations: 0.5479 MB / 414.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.376, allocations: 8.031 kB / 414.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.3761, allocations: 24.66 kB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.3767, allocations: 307.4 kB / 414.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3767, allocations: 4.375 kB / 414.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.3767, allocations: 16.12 kB / 414.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.3772, allocations: 180.4 kB / 414.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3773, allocations: 0 / 414.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.3773, allocations: 0 / 414.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3773, allocations: 4 kB / 414.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.3775, allocations: 47.91 kB / 414.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.3781, allocations: 387.2 kB / 415.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.3785, allocations: 146.5 kB / 415.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.3787, allocations: 55.42 kB / 415.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.3787, allocations: 12.06 kB / 415.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.3789, allocations: 83.31 kB / 415.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.933e-06/0.3789, allocations: 4 kB / 415.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005645/0.3795, allocations: 165.2 kB / 415.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.3797, allocations: 200.2 kB / 415.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.3802, allocations: 339 kB / 416.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.3803, allocations: 33.7 kB / 416.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000237/0.3805, allocations: 128.4 kB / 416.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.3806, allocations: 15.81 kB / 416.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.3807, allocations: 33.7 kB / 416.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.3809, allocations: 338.8 kB / 416.8 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.381, allocations: 27.98 kB / 416.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.3811, allocations: 96.56 kB / 416.9 MB, free: 9.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.3813, allocations: 105.9 kB / 417 MB, free: 9.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3813, allocations: 0 / 417 MB, free: 9.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002873/0.3816, allocations: 149.2 kB / 417.1 MB, free: 9.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.3817, allocations: 6.656 kB / 417.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3817, allocations: 7.938 kB / 417.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.3817, allocations: 0 / 417.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.3819, allocations: 27.92 kB / 417.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.3819, allocations: 0 / 417.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.382, allocations: 19.78 kB / 417.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.382, allocations: 4 kB / 417.2 MB, free: 9.211 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,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 (13): * Single equations (assignments): 13 * 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.0001937/0.3822, allocations: 169.8 kB / 417.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.3823, allocations: 73.36 kB / 417.4 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.42e-05/0.3824, allocations: 29.78 kB / 417.5 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3824, allocations: 7.984 kB / 417.5 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.3824, allocations: 3.984 kB / 417.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3824, allocations: 4.25 kB / 417.5 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.3827, allocations: 241.6 kB / 417.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3827, allocations: 4 kB / 417.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.3e-05/0.3828, allocations: 12 kB / 417.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3828, allocations: 8.094 kB / 417.8 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3828, allocations: 7.984 kB / 417.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3828, allocations: 4 kB / 417.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3828, allocations: 0 / 417.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.3831, allocations: 195.1 kB / 418 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.3833, allocations: 116.7 kB / 418.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.3834, allocations: 4 kB / 418.1 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.4e-05/0.3835, allocations: 4 kB / 418.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.617e-05/0.3835, allocations: 11.98 kB / 418.1 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.3836, allocations: 11.94 kB / 418.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003741/0.384, allocations: 253.9 kB / 418.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.384, allocations: 0 / 418.3 MB, free: 7.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.3843, allocations: 36 kB / 418.4 MB, free: 7.926 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (11): * Single equations (assignments): 9 * 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.001313/0.3856, allocations: 429.1 kB / 418.8 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.3859, allocations: 83.83 kB / 418.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3859, allocations: 4 kB / 418.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.386, allocations: 27.92 kB / 418.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.3865, allocations: 77.17 kB / 419 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.3873, allocations: 407.1 kB / 419.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.3878, allocations: 0.7398 MB / 420.1 MB, free: 6.246 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.092e-05/0.3879, allocations: 37.52 kB / 420.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.388, allocations: 23.44 kB / 420.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.388, allocations: 0 / 420.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of Templates: time 0.007714/0.3957, allocations: 3.097 MB / 423.3 MB, free: 3.125 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches