Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001672/0.001672, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002092/0.002092, allocations: 198 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.63/1.63, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3463, allocations: 50.55 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00369/0.3501, allocations: 1.925 MB / 411.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.3523, allocations: 1.231 MB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.3526, allocations: 3.938 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007317/0.3533, allocations: 143.5 kB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005586/0.3539, allocations: 167.4 kB / 412.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.3545, allocations: 174.8 kB / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003342/0.3549, allocations: 207.4 kB / 413.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.355, allocations: 29.69 kB / 413.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.3552, allocations: 91.61 kB / 413.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.3553, allocations: 71.64 kB / 413.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.3554, allocations: 11.98 kB / 413.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.3556, allocations: 59.91 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/0.3556, allocations: 47.84 kB / 413.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.593e-05/0.3557, allocations: 75.47 kB / 413.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.3562, allocations: 222.9 kB / 413.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3562, allocations: 0 / 413.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3562, allocations: 0 / 413.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.3562, allocations: 0 / 413.7 MB, free: 13.18 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.0008824/0.3571, allocations: 0.5248 MB / 414.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3571, allocations: 12.03 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.569e-05/0.3572, allocations: 20.66 kB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.3576, allocations: 282.6 kB / 414.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3576, allocations: 8.375 kB / 414.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3577, allocations: 12.11 kB / 414.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.3581, allocations: 171.6 kB / 414.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3581, allocations: 0 / 414.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3581, allocations: 0 / 414.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.3581, allocations: 7.938 kB / 414.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.3582, allocations: 39.92 kB / 414.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.3589, allocations: 387.1 kB / 415.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.3592, allocations: 134.5 kB / 415.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3593, allocations: 55.42 kB / 415.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.3593, allocations: 0 / 415.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.3595, allocations: 83.33 kB / 415.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.3595, allocations: 0 / 415.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004449/0.36, allocations: 157.3 kB / 415.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.3601, allocations: 166.6 kB / 415.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.3604, allocations: 282.5 kB / 416 MB, free: 10.58 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.3605, allocations: 29.69 kB / 416 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/0.3606, allocations: 116.4 kB / 416.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.3606, allocations: 15.81 kB / 416.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.3607, allocations: 33.7 kB / 416.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3609, allocations: 338.8 kB / 416.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.361, allocations: 20 kB / 416.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3611, allocations: 87.64 kB / 416.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.3613, allocations: 93.97 kB / 416.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3613, allocations: 0 / 416.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002715/0.3616, allocations: 137.2 kB / 416.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3616, allocations: 8.188 kB / 416.8 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3616, allocations: 4 kB / 416.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3617, allocations: 0 / 416.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.3618, allocations: 12 kB / 416.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.3618, allocations: 7.922 kB / 416.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-05/0.3619, allocations: 19.81 kB / 416.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.3619, allocations: 7.984 kB / 416.9 MB, free: 9.586 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,sample1.u,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.0001495/0.3621, allocations: 145.8 kB / 417 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.3622, allocations: 85.34 kB / 417.1 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.771e-05/0.3623, allocations: 21.7 kB / 417.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3623, allocations: 0 / 417.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3623, allocations: 4 kB / 417.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3623, allocations: 3.938 kB / 417.1 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.3626, allocations: 233.6 kB / 417.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3626, allocations: 320 / 417.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.3626, allocations: 7.938 kB / 417.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3626, allocations: 4 kB / 417.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3627, allocations: 11.98 kB / 417.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3627, allocations: 8.094 kB / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3627, allocations: 0 / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.363, allocations: 167.3 kB / 417.6 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3631, allocations: 112.9 kB / 417.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.3631, allocations: 11.94 kB / 417.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.3632, allocations: 7.938 kB / 417.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3632, allocations: 7.984 kB / 417.7 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.3633, allocations: 11.92 kB / 417.7 MB, free: 8.641 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.3635, allocations: 206 kB / 417.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3635, allocations: 0 / 417.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002941/0.3638, allocations: 39.92 kB / 418 MB, free: 8.402 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,sample1.u,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.001032/0.3648, allocations: 413.2 kB / 418.4 MB, free: 8.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.3651, allocations: 79.84 kB / 418.4 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3651, allocations: 0 / 418.4 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.493e-05/0.3652, allocations: 23.98 kB / 418.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.3657, allocations: 74.94 kB / 418.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.3664, allocations: 350.5 kB / 418.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.3668, allocations: 0.7359 MB / 419.6 MB, free: 6.816 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.3669, allocations: 25.53 kB / 419.6 MB, free: 6.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.367, allocations: 19.44 kB / 419.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.367, allocations: 0 / 419.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of Templates: time 0.007156/0.3741, allocations: 2.698 MB / 422.4 MB, free: 4.105 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches