Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 113.2 kB / 17.07 MB, free: 5.945 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.00231/0.00231, allocations: 194.8 kB / 18 MB, free: 5.035 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.541/1.541, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 47.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3789, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004398/0.3834, allocations: 1.899 MB / 402.6 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.3857, allocations: 1.075 MB / 403.7 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.386, allocations: 4 kB / 403.7 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008589/0.3869, allocations: 159.2 kB / 403.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004382/0.3873, allocations: 115.5 kB / 404 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000751/0.3881, allocations: 207.4 kB / 404.2 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.3884, allocations: 187.5 kB / 404.3 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.3886, allocations: 37.48 kB / 404.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3887, allocations: 79.69 kB / 404.5 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.3889, allocations: 71.69 kB / 404.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.3889, allocations: 8 kB / 404.5 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.3891, allocations: 55.91 kB / 404.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.3892, allocations: 47.83 kB / 404.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.3894, allocations: 75.48 kB / 404.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.3898, allocations: 216.4 kB / 404.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3898, allocations: 0 / 404.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3898, allocations: 0 / 404.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.3898, allocations: 0 / 404.9 MB, free: 4.656 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001017/0.3908, allocations: 0.5079 MB / 405.4 MB, free: 4.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3909, allocations: 11.89 kB / 405.4 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.391, allocations: 24.66 kB / 405.5 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.3914, allocations: 274.8 kB / 405.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.3915, allocations: 4.375 kB / 405.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3915, allocations: 16.11 kB / 405.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.3919, allocations: 155.6 kB / 405.9 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.3919, allocations: 4 kB / 405.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.3919, allocations: 0 / 405.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3919, allocations: 4 kB / 405.9 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.3921, allocations: 39.92 kB / 406 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.3927, allocations: 454.5 kB / 406.4 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.393, allocations: 126.5 kB / 406.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.863e-05/0.3931, allocations: 59.42 kB / 406.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.3932, allocations: 11.92 kB / 406.6 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.3934, allocations: 85.05 kB / 406.7 MB, free: 2.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.3934, allocations: 4 kB / 406.7 MB, free: 2.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004376/0.3938, allocations: 161.3 kB / 406.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.394, allocations: 158.2 kB / 407 MB, free: 2.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.3944, allocations: 272.8 kB / 407.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3944, allocations: 29.64 kB / 407.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3946, allocations: 116.8 kB / 407.4 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.3946, allocations: 27.86 kB / 407.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.3947, allocations: 33.62 kB / 407.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002671/0.395, allocations: 338.7 kB / 407.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/0.3951, allocations: 23.98 kB / 407.8 MB, free: 1.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3952, allocations: 76.73 kB / 407.9 MB, free: 1.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.3954, allocations: 89.36 kB / 408 MB, free: 1.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3954, allocations: 4 kB / 408 MB, free: 1.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002328/0.3956, allocations: 129.4 kB / 408.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3957, allocations: 8 kB / 408.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3957, allocations: 0 / 408.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.3957, allocations: 4 kB / 408.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3958, allocations: 15.92 kB / 408.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3958, allocations: 4 kB / 408.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.042e-05/0.3959, allocations: 11.88 kB / 408.2 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3959, allocations: 4 kB / 408.2 MB, free: 1.043 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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,shiftSample1.y,hold1.y,hold1.u,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.0001713/0.3961, allocations: 158.4 kB / 408.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.727e-05/0.3962, allocations: 65.41 kB / 408.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.334e-05/0.3963, allocations: 25.7 kB / 408.4 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3963, allocations: 4 kB / 408.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3963, allocations: 0 / 408.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.3963, allocations: 3.938 kB / 408.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3966, allocations: 225.6 kB / 408.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3966, allocations: 0 / 408.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.3966, allocations: 16 kB / 408.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3966, allocations: 4 kB / 408.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3967, allocations: 0 / 408.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3967, allocations: 4 kB / 408.7 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3967, allocations: 0 / 408.7 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.397, allocations: 183.2 kB / 408.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.463e-05/0.3971, allocations: 108.9 kB / 408.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.3971, allocations: 0 / 408.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.777e-05/0.3972, allocations: 8.062 kB / 408.9 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.3973, allocations: 15.92 kB / 409 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.3973, allocations: 4 kB / 409 MB, free: 124 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.3975, allocations: 196.5 kB / 409.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3975, allocations: 0 / 409.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.3978, allocations: 28 kB / 409.2 MB, free: 15.9 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,hold1.y,hold1.u,shiftSample1.y,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.001083/0.3989, allocations: 435.5 kB / 409.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002697/0.3992, allocations: 79.84 kB / 409.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3992, allocations: 0 / 409.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.114e-05/0.3993, allocations: 28 kB / 409.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.3998, allocations: 85.48 kB / 409.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.4004, allocations: 321.7 kB / 410.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.4008, allocations: 0.7356 MB / 410.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.289e-05/0.4009, allocations: 21.55 kB / 410.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.401, allocations: 23.42 kB / 410.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.401, allocations: 0 / 410.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Templates: time 0.006902/0.4079, allocations: 2.538 MB / 413.4 MB, free: 11.79 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches