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.001614/0.001614, allocations: 111 kB / 17.74 MB, free: 5.34 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.001394/0.001394, allocations: 192.3 kB / 18.68 MB, free: 4.41 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.361/1.361, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 39.94 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2796, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.00342/0.2831, allocations: 1.905 MB / 403.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.2849, allocations: 1.068 MB / 404.4 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.285, allocations: 3.938 kB / 404.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.2856, allocations: 155.5 kB / 404.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.2859, allocations: 115.6 kB / 404.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.2865, allocations: 203 kB / 404.8 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.2867, allocations: 195.4 kB / 405 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2869, allocations: 29.48 kB / 405.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.287, allocations: 83.69 kB / 405.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.2871, allocations: 71.64 kB / 405.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.2871, allocations: 11.94 kB / 405.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.2873, allocations: 63.95 kB / 405.3 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.2873, allocations: 43.84 kB / 405.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.2874, allocations: 67.53 kB / 405.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.2877, allocations: 216.4 kB / 405.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2878, allocations: 0 / 405.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2878, allocations: 0 / 405.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.2878, allocations: 0 / 405.6 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.0007641/0.2885, allocations: 0.5118 MB / 406.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2886, allocations: 15.89 kB / 406.1 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.2887, allocations: 20.66 kB / 406.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.289, allocations: 270.8 kB / 406.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.289, allocations: 4.375 kB / 406.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.289, allocations: 16.11 kB / 406.4 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.2894, allocations: 167.5 kB / 406.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2894, allocations: 0 / 406.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2894, allocations: 0 / 406.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.2894, allocations: 0 / 406.6 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.2896, allocations: 43.91 kB / 406.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005119/0.2901, allocations: 446.5 kB / 407.1 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.2903, allocations: 138.5 kB / 407.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.2905, allocations: 55.36 kB / 407.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2905, allocations: 4 kB / 407.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.2907, allocations: 97.16 kB / 407.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.2907, allocations: 0 / 407.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003915/0.2911, allocations: 149.5 kB / 407.5 MB, free: 2.492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.2912, allocations: 170.5 kB / 407.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.2915, allocations: 268.8 kB / 407.9 MB, free: 2.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.2915, allocations: 29.7 kB / 408 MB, free: 1.977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.2916, allocations: 120.4 kB / 408.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.2916, allocations: 15.81 kB / 408.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.454e-05/0.2917, allocations: 37.61 kB / 408.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2918, allocations: 330.8 kB / 408.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.2919, allocations: 31.98 kB / 408.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.292, allocations: 74.91 kB / 408.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.2922, allocations: 93.11 kB / 408.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2922, allocations: 0 / 408.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002297/0.2924, allocations: 125.4 kB / 408.8 MB, free: 1.094 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2924, allocations: 4 kB / 408.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.2924, allocations: 12.08 kB / 408.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2925, allocations: 7.938 kB / 408.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.2926, allocations: 12 kB / 408.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2926, allocations: 4 kB / 408.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.2927, allocations: 19.86 kB / 408.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.2927, allocations: 4 kB / 408.8 MB, free: 1.031 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.0001253/0.2928, allocations: 146.3 kB / 409 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/0.2929, allocations: 69.42 kB / 409.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.293, allocations: 25.77 kB / 409.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.293, allocations: 0 / 409.1 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.293, allocations: 3.938 kB / 409.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.293, allocations: 7.938 kB / 409.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.2932, allocations: 225.6 kB / 409.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2932, allocations: 7.938 kB / 409.3 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.2932, allocations: 4 kB / 409.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2932, allocations: 0 / 409.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2933, allocations: 7.984 kB / 409.3 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2933, allocations: 4.062 kB / 409.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2933, allocations: 8 kB / 409.3 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.2936, allocations: 171.3 kB / 409.5 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.2937, allocations: 108.9 kB / 409.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.2937, allocations: 4 kB / 409.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.2938, allocations: 11.98 kB / 409.6 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.2938, allocations: 7.938 kB / 409.6 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.2939, allocations: 8 kB / 409.7 MB, free: 116 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.2941, allocations: 192.5 kB / 409.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.2941, allocations: 0 / 409.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.2944, allocations: 31.94 kB / 409.9 MB, free: 15.89 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.0009532/0.2953, allocations: 433.6 kB / 410.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.2956, allocations: 79.84 kB / 410.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2956, allocations: 0 / 410.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.2957, allocations: 27.98 kB / 410.4 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.0004119/0.2961, allocations: 68.98 kB / 410.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.2967, allocations: 352 kB / 410.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.297, allocations: 0.7433 MB / 411.6 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.2971, allocations: 19.44 kB / 411.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2971, allocations: 0 / 411.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Templates: time 0.005022/0.3021, allocations: 2.712 MB / 414.3 MB, free: 11.58 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/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