Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001486/0.001486, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 68.12 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3689, allocations: 50.55 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003518/0.3725, allocations: 2.002 MB / 411.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.3747, allocations: 1.247 MB / 412.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.3749, allocations: 4 kB / 412.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.3756, allocations: 159.4 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.376, allocations: 159.4 kB / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.3766, allocations: 211.3 kB / 413 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.3769, allocations: 231.4 kB / 413.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.377, allocations: 48.28 kB / 413.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.3772, allocations: 91.62 kB / 413.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3773, allocations: 91.55 kB / 413.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.3773, allocations: 16 kB / 413.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.3775, allocations: 67.89 kB / 413.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.3776, allocations: 59.83 kB / 413.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.453e-05/0.3777, allocations: 83.42 kB / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.378, allocations: 270.7 kB / 413.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.378, allocations: 0 / 413.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.378, allocations: 0 / 413.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.378, allocations: 0 / 413.9 MB, free: 12.9 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008259/0.3789, allocations: 0.5599 MB / 414.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3789, allocations: 8.031 kB / 414.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.3791, allocations: 28.66 kB / 414.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.3795, allocations: 290.7 kB / 414.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3795, allocations: 8.375 kB / 414.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.3795, allocations: 20.12 kB / 414.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.38, allocations: 293.5 kB / 415.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3801, allocations: 3.938 kB / 415.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.3801, allocations: 4 kB / 415.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3801, allocations: 8 kB / 415.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.3803, allocations: 59.91 kB / 415.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.3808, allocations: 390.3 kB / 415.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.3812, allocations: 180 kB / 415.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.3813, allocations: 86.48 kB / 415.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.3814, allocations: 4 kB / 415.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.3815, allocations: 83.31 kB / 415.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.3816, allocations: 0 / 415.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004837/0.382, allocations: 225.2 kB / 416.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/0.3821, allocations: 144.4 kB / 416.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.3824, allocations: 277 kB / 416.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3825, allocations: 29.7 kB / 416.6 MB, free: 9.973 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.3826, allocations: 132.6 kB / 416.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.3826, allocations: 27.7 kB / 416.8 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.3827, allocations: 53.94 kB / 416.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3828, allocations: 334.8 kB / 417.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.3829, allocations: 40.45 kB / 417.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.3831, allocations: 174 kB / 417.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.3833, allocations: 199.2 kB / 417.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3834, allocations: 4 kB / 417.5 MB, free: 8.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00034/0.3837, allocations: 217 kB / 417.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3837, allocations: 11.5 kB / 417.8 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3837, allocations: 8 kB / 417.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3838, allocations: 8 kB / 417.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.634e-05/0.3839, allocations: 19.92 kB / 417.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.3839, allocations: 8.375 kB / 417.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.384, allocations: 27.77 kB / 417.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.384, allocations: 12 kB / 417.9 MB, free: 8.582 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001582/0.3842, allocations: 163.9 kB / 418 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.3844, allocations: 137.2 kB / 418.1 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/0.3845, allocations: 29.72 kB / 418.2 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3845, allocations: 0 / 418.2 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3845, allocations: 4 kB / 418.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3845, allocations: 7.922 kB / 418.2 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.3847, allocations: 245.5 kB / 418.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.3847, allocations: 4.297 kB / 418.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.3847, allocations: 8 kB / 418.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3847, allocations: 4 kB / 418.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3848, allocations: 4 kB / 418.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3848, allocations: 4 kB / 418.5 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3848, allocations: 11.88 kB / 418.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.3851, allocations: 219.5 kB / 418.7 MB, free: 7.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.3852, allocations: 120.7 kB / 418.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.3853, allocations: 11.98 kB / 418.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.3854, allocations: 8 kB / 418.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.3854, allocations: 11.98 kB / 418.8 MB, free: 7.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.3854, allocations: 7.984 kB / 418.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.3856, allocations: 204.5 kB / 419 MB, free: 7.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3856, allocations: 0 / 419 MB, free: 7.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.3859, allocations: 51.84 kB / 419.1 MB, free: 7.242 MB / 334.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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.0009533/0.3869, allocations: 413.3 kB / 419.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.3872, allocations: 147.3 kB / 419.6 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3872, allocations: 0 / 419.6 MB, free: 6.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.299e-05/0.3873, allocations: 31.92 kB / 419.7 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.3878, allocations: 119.5 kB / 419.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.3884, allocations: 394.6 kB / 420.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3887, allocations: 0.7596 MB / 420.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.302e-05/0.3888, allocations: 26.28 kB / 421 MB, free: 5.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.3889, allocations: 23.44 kB / 421 MB, free: 5.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3889, allocations: 0 / 421 MB, free: 5.43 MB / 334.1 MB Notification: Performance of Templates: time 0.006686/0.3955, allocations: 3.062 MB / 424 MB, free: 2.391 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches