Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 103.3 kB / 17.73 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001169, allocations: 192.1 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 47.92 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 49.43 MB / 401.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004204/0.3799, allocations: 1.891 MB / 403.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.3819, allocations: 1.068 MB / 404.3 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.382, allocations: 11.94 kB / 404.4 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.3827, allocations: 155.5 kB / 404.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.3831, allocations: 111.6 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.3837, allocations: 209.3 kB / 404.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.384, allocations: 179.5 kB / 405 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.3841, allocations: 37.55 kB / 405 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.3842, allocations: 79.62 kB / 405.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3844, allocations: 71.69 kB / 405.2 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.3844, allocations: 8 kB / 405.2 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.3846, allocations: 51.92 kB / 405.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.583e-05/0.3847, allocations: 47.83 kB / 405.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.55e-05/0.3848, allocations: 63.55 kB / 405.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.3851, allocations: 216.4 kB / 405.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3851, allocations: 0 / 405.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3851, allocations: 0 / 405.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3852, allocations: 0 / 405.6 MB, free: 4.727 MB / 318.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.0008562/0.386, allocations: 0.4963 MB / 406.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3861, allocations: 15.89 kB / 406.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.3861, allocations: 20.66 kB / 406.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.3865, allocations: 270.8 kB / 406.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.3865, allocations: 8.375 kB / 406.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3865, allocations: 8.125 kB / 406.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.3869, allocations: 150.7 kB / 406.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3869, allocations: 4 kB / 406.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3869, allocations: 0 / 406.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3869, allocations: 0 / 406.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.387, allocations: 39.92 kB / 406.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.3876, allocations: 358.3 kB / 406.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.3878, allocations: 107.9 kB / 407 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.3879, allocations: 46.56 kB / 407.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.3879, allocations: 8.062 kB / 407.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.3881, allocations: 79.23 kB / 407.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3881, allocations: 0 / 407.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.00035/0.3885, allocations: 137.4 kB / 407.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.653e-05/0.3886, allocations: 136.5 kB / 407.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.3889, allocations: 265.2 kB / 407.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3889, allocations: 29.7 kB / 407.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.389, allocations: 116 kB / 407.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.389, allocations: 11.89 kB / 407.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.3891, allocations: 33.62 kB / 407.9 MB, free: 2.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3892, allocations: 334.8 kB / 408.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.3893, allocations: 23.98 kB / 408.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.3894, allocations: 69.94 kB / 408.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.3895, allocations: 80.47 kB / 408.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3895, allocations: 4.031 kB / 408.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001933/0.3897, allocations: 113.4 kB / 408.5 MB, free: 1.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3897, allocations: 7.984 kB / 408.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3898, allocations: 4 kB / 408.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3898, allocations: 0 / 408.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.3899, allocations: 12 kB / 408.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.3899, allocations: 3.938 kB / 408.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.39, allocations: 15.86 kB / 408.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.39, allocations: 8.125 kB / 408.5 MB, free: 1.418 MB / 318.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,superSample1.y,superSample1.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.0001212/0.3901, allocations: 141.8 kB / 408.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.3902, allocations: 65.36 kB / 408.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.3903, allocations: 25.7 kB / 408.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3903, allocations: 0 / 408.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3903, allocations: 0 / 408.8 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3903, allocations: 7.938 kB / 408.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.3905, allocations: 217.6 kB / 409 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3905, allocations: 4.062 kB / 409 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.3905, allocations: 7.984 kB / 409 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3905, allocations: 0 / 409 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3906, allocations: 4 kB / 409 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3906, allocations: 0 / 409 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3906, allocations: 4 kB / 409 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3908, allocations: 158.5 kB / 409.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-05/0.3909, allocations: 116.8 kB / 409.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.391, allocations: 4 kB / 409.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.391, allocations: 4 kB / 409.3 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3911, allocations: 7.922 kB / 409.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3911, allocations: 11.94 kB / 409.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3913, allocations: 196.5 kB / 409.5 MB, free: 360 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3913, allocations: 0 / 409.5 MB, free: 360 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.3916, allocations: 27.91 kB / 409.5 MB, free: 332 kB / 318.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,superSample1.y,sample1.y,superSample1.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 (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.001103/0.3927, allocations: 423.9 kB / 409.9 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.393, allocations: 67.91 kB / 410 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.393, allocations: 0 / 410 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.3931, allocations: 27.94 kB / 410 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.3935, allocations: 59.45 kB / 410.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005797/0.3941, allocations: 338.8 kB / 410.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.3944, allocations: 0.7317 MB / 411.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.3945, allocations: 23.42 kB / 411.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3945, allocations: 0 / 411.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of Templates: time 0.005313/0.3998, allocations: 2.622 MB / 413.8 MB, free: 12.15 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches