Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00148/0.00148, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3542, allocations: 50.54 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004154/0.3584, allocations: 1.895 MB / 411.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.3608, allocations: 1.216 MB / 412.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.361, allocations: 4 kB / 412.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008127/0.3618, allocations: 151.5 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004759/0.3623, allocations: 159.4 kB / 412.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.363, allocations: 171.1 kB / 412.8 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.3634, allocations: 195.5 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3636, allocations: 37.45 kB / 413.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.3639, allocations: 75.7 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.364, allocations: 71.69 kB / 413.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.3641, allocations: 8 kB / 413.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.3642, allocations: 67.89 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3644, allocations: 39.84 kB / 413.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3645, allocations: 75.48 kB / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.3649, allocations: 211 kB / 413.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3649, allocations: 0 / 413.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3649, allocations: 0 / 413.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3649, allocations: 0 / 413.6 MB, free: 13.23 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009873/0.3659, allocations: 0.5209 MB / 414.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.366, allocations: 8.031 kB / 414.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.3661, allocations: 16.75 kB / 414.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.3665, allocations: 270.8 kB / 414.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-05/0.3666, allocations: 8.375 kB / 414.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3666, allocations: 8.125 kB / 414.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.367, allocations: 146.7 kB / 414.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.367, allocations: 0 / 414.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3671, allocations: 7.984 kB / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3671, allocations: 0 / 414.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3672, allocations: 31.97 kB / 414.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007091/0.3679, allocations: 362.4 kB / 415 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.3682, allocations: 111.9 kB / 415.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.3683, allocations: 46.56 kB / 415.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.3683, allocations: 4 kB / 415.1 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.3685, allocations: 75.31 kB / 415.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 4.048e-06/0.3685, allocations: 7.938 kB / 415.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004014/0.3689, allocations: 141.3 kB / 415.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.369, allocations: 136.5 kB / 415.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.3693, allocations: 269 kB / 415.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3694, allocations: 29.7 kB / 415.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.3695, allocations: 120 kB / 415.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.3695, allocations: 16.14 kB / 415.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.3696, allocations: 37.56 kB / 415.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3697, allocations: 330.8 kB / 416.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.3698, allocations: 23.98 kB / 416.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.37, allocations: 66 kB / 416.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.3702, allocations: 80.25 kB / 416.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3702, allocations: 256 / 416.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003391/0.3705, allocations: 113.4 kB / 416.5 MB, free: 9.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.3706, allocations: 12.11 kB / 416.5 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3706, allocations: 4 kB / 416.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3706, allocations: 0 / 416.5 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3707, allocations: 12 kB / 416.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3707, allocations: 0 / 416.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.3708, allocations: 23.86 kB / 416.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3708, allocations: 0 / 416.6 MB, free: 9.91 MB / 334.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.000151/0.371, allocations: 153.7 kB / 416.7 MB, free: 9.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.3711, allocations: 65.39 kB / 416.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.234e-05/0.3712, allocations: 25.7 kB / 416.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3712, allocations: 7.984 kB / 416.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3712, allocations: 0 / 416.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3712, allocations: 3.938 kB / 416.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.3715, allocations: 229.6 kB / 417.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3715, allocations: 0 / 417.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.3715, allocations: 4 kB / 417.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3715, allocations: 0 / 417.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3715, allocations: 4 kB / 417.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3715, allocations: 0 / 417.1 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3715, allocations: 4.031 kB / 417.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.3719, allocations: 162.4 kB / 417.2 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.372, allocations: 104.8 kB / 417.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.372, allocations: 12.03 kB / 417.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.206e-05/0.3721, allocations: 11.92 kB / 417.4 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.3721, allocations: 4 kB / 417.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3722, allocations: 7.938 kB / 417.4 MB, free: 9.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.3724, allocations: 204.5 kB / 417.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3724, allocations: 0 / 417.6 MB, free: 8.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3727, allocations: 31.98 kB / 417.6 MB, free: 8.785 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: 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.001161/0.3738, allocations: 410.8 kB / 418 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.374, allocations: 67.91 kB / 418.1 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3741, allocations: 0 / 418.1 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.3741, allocations: 35.91 kB / 418.1 MB, free: 8.414 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.3746, allocations: 60 kB / 418.2 MB, free: 8.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/0.3753, allocations: 312.7 kB / 418.5 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3757, allocations: 0.7324 MB / 419.2 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.353e-05/0.3757, allocations: 21.53 kB / 419.2 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.3758, allocations: 19.44 kB / 419.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3758, allocations: 3.938 kB / 419.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of Templates: time 0.00656/0.3823, allocations: 2.443 MB / 421.7 MB, free: 4.793 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches