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.001703/0.001703, allocations: 113.7 kB / 17.07 MB, free: 5.973 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.002052/0.002052, allocations: 198.8 kB / 18 MB, free: 5.059 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.525/1.525, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 55.91 kB / 351.3 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3168, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004097/0.321, allocations: 1.906 MB / 402.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.3238, allocations: 1.075 MB / 403.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.3241, allocations: 3.938 kB / 403.7 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.3252, allocations: 147.5 kB / 403.8 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.3257, allocations: 115.5 kB / 404 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009057/0.3266, allocations: 211.6 kB / 404.2 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.327, allocations: 187.5 kB / 404.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.3272, allocations: 29.55 kB / 404.4 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.3274, allocations: 87.61 kB / 404.5 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.3276, allocations: 75.62 kB / 404.5 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.3276, allocations: 8 kB / 404.5 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.3279, allocations: 59.97 kB / 404.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3281, allocations: 39.84 kB / 404.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.3283, allocations: 79.47 kB / 404.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005469/0.3289, allocations: 208.4 kB / 404.9 MB, free: 4.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.3289, allocations: 4 kB / 404.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3289, allocations: 0 / 404.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3289, allocations: 0 / 404.9 MB, free: 4.672 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.0008802/0.3298, allocations: 0.5118 MB / 405.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3298, allocations: 15.89 kB / 405.5 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.3299, allocations: 24.66 kB / 405.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.3303, allocations: 270.8 kB / 405.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3303, allocations: 384 / 405.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.3304, allocations: 16.12 kB / 405.8 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.3307, allocations: 158.4 kB / 405.9 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3307, allocations: 4 kB / 405.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.3308, allocations: 4 kB / 405.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3308, allocations: 0 / 405.9 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3309, allocations: 35.92 kB / 406 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.3316, allocations: 454.5 kB / 406.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.332, allocations: 134.5 kB / 406.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.3321, allocations: 59.36 kB / 406.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.3322, allocations: 3.984 kB / 406.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.3324, allocations: 93.11 kB / 406.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 4.098e-06/0.3325, allocations: 0 / 406.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004736/0.3329, allocations: 165.2 kB / 406.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.3331, allocations: 162.2 kB / 407 MB, free: 2.305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.3335, allocations: 277.2 kB / 407.3 MB, free: 2.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.3336, allocations: 25.7 kB / 407.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.3337, allocations: 116.4 kB / 407.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.3337, allocations: 19.8 kB / 407.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.3338, allocations: 37.62 kB / 407.5 MB, free: 1.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.334, allocations: 330.8 kB / 407.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.3341, allocations: 23.98 kB / 407.8 MB, free: 1.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.3342, allocations: 78.86 kB / 407.9 MB, free: 1.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3344, allocations: 93.11 kB / 408 MB, free: 1.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3344, allocations: 0 / 408 MB, free: 1.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000241/0.3347, allocations: 125.4 kB / 408.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3347, allocations: 7.938 kB / 408.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3347, allocations: 4 kB / 408.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3347, allocations: 0 / 408.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.3348, allocations: 15.98 kB / 408.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3349, allocations: 160 / 408.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.3349, allocations: 19.88 kB / 408.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.335, allocations: 8 kB / 408.2 MB, free: 1.055 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.0001688/0.3351, allocations: 146.3 kB / 408.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.423e-05/0.3352, allocations: 65.41 kB / 408.4 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.3353, allocations: 25.7 kB / 408.4 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3353, allocations: 4 kB / 408.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3353, allocations: 0 / 408.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.3354, allocations: 15.94 kB / 408.4 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.3357, allocations: 229.9 kB / 408.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3357, allocations: 8 kB / 408.6 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.3357, allocations: 4 kB / 408.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3357, allocations: 0 / 408.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3358, allocations: 4 kB / 408.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3358, allocations: 0 / 408.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3358, allocations: 0 / 408.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.3361, allocations: 191.2 kB / 408.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3362, allocations: 104.9 kB / 408.9 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.3362, allocations: 8 kB / 409 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.697e-05/0.3363, allocations: 0 / 409 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.3364, allocations: 11.92 kB / 409 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3364, allocations: 8 kB / 409 MB, free: 136 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002948/0.3367, allocations: 200.5 kB / 409.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3367, allocations: 0 / 409.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.337, allocations: 28 kB / 409.2 MB, free: 15.91 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.001203/0.3382, allocations: 427.8 kB / 409.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.3385, allocations: 79.84 kB / 409.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3385, allocations: 320 / 409.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.99e-05/0.3386, allocations: 31.94 kB / 409.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3391, allocations: 62.05 kB / 409.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.3399, allocations: 317.7 kB / 410.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.3404, allocations: 0.7514 MB / 410.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.567e-05/0.3405, allocations: 21.53 kB / 410.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.3406, allocations: 19.44 kB / 410.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3406, allocations: 0 / 410.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of Templates: time 0.007315/0.3479, allocations: 2.558 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