Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 111.8 kB / 17.74 MB, free: 5.359 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.001405/0.001405, allocations: 177.5 kB / 18.66 MB, free: 4.449 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.379/1.379, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 47.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3197, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003638/0.3234, allocations: 1.906 MB / 403.3 MB, free: 6.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.3254, allocations: 1.157 MB / 404.5 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.3256, allocations: 7.938 kB / 404.5 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.3259, allocations: 59.67 kB / 404.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.3262, allocations: 99.58 kB / 404.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007489/0.327, allocations: 263.8 kB / 404.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.3272, allocations: 167.5 kB / 405 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.3274, allocations: 37.52 kB / 405.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3275, allocations: 75.64 kB / 405.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.3276, allocations: 83.67 kB / 405.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.3276, allocations: 12 kB / 405.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.3278, allocations: 67.95 kB / 405.3 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.3279, allocations: 47.84 kB / 405.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.328, allocations: 91.33 kB / 405.4 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.3283, allocations: 244.3 kB / 405.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3284, allocations: 0 / 405.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3284, allocations: 0 / 405.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.3284, allocations: 0 / 405.7 MB, free: 4.578 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.000749/0.3291, allocations: 0.5272 MB / 406.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3292, allocations: 19.89 kB / 406.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.3292, allocations: 24.64 kB / 406.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.3297, allocations: 291.6 kB / 406.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3297, allocations: 4.375 kB / 406.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.3297, allocations: 12.12 kB / 406.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.3301, allocations: 172.4 kB / 406.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3301, allocations: 0 / 406.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.3301, allocations: 4 kB / 406.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3301, allocations: 0 / 406.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3303, allocations: 43.91 kB / 406.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.3308, allocations: 474.4 kB / 407.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.3311, allocations: 146.5 kB / 407.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.3312, allocations: 63.41 kB / 407.4 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3313, allocations: 3.938 kB / 407.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3314, allocations: 105.1 kB / 407.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.3315, allocations: 0 / 407.5 MB, free: 2.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004101/0.3319, allocations: 173.2 kB / 407.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.332, allocations: 192.3 kB / 407.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.3324, allocations: 326.7 kB / 408.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.3324, allocations: 25.7 kB / 408.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.3325, allocations: 132.4 kB / 408.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.3325, allocations: 19.72 kB / 408.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.3326, allocations: 33.7 kB / 408.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3327, allocations: 334.8 kB / 408.8 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.3328, allocations: 27.98 kB / 408.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.3329, allocations: 107.6 kB / 408.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.3331, allocations: 93.08 kB / 409 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3331, allocations: 0 / 409 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002621/0.3334, allocations: 129.4 kB / 409.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3334, allocations: 8 kB / 409.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.3334, allocations: 3.984 kB / 409.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3334, allocations: 4.156 kB / 409.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3336, allocations: 27.94 kB / 409.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3336, allocations: 7.984 kB / 409.2 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.39e-05/0.3337, allocations: 15.78 kB / 409.2 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3337, allocations: 4 kB / 409.2 MB, free: 0.6953 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.0001415/0.3338, allocations: 154.3 kB / 409.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.201e-05/0.3339, allocations: 73.34 kB / 409.4 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.284e-05/0.334, allocations: 25.7 kB / 409.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.334, allocations: 8.062 kB / 409.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.334, allocations: 3.938 kB / 409.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.334, allocations: 7.938 kB / 409.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.3343, allocations: 241.6 kB / 409.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3343, allocations: 320 / 409.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-05/0.3344, allocations: 15.98 kB / 409.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3344, allocations: 4 kB / 409.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3344, allocations: 4 kB / 409.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.3344, allocations: 7.938 kB / 409.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3344, allocations: 0 / 409.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.3347, allocations: 183.3 kB / 409.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.3348, allocations: 124.8 kB / 410 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.3349, allocations: 4 kB / 410 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.3349, allocations: 8 kB / 410 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.335, allocations: 15.92 kB / 410 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.335, allocations: 11.94 kB / 410.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002611/0.3353, allocations: 249.8 kB / 410.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3353, allocations: 0 / 410.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.3356, allocations: 36 kB / 410.3 MB, free: 15.43 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.001033/0.3367, allocations: 417.2 kB / 410.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.3369, allocations: 83.91 kB / 410.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3369, allocations: 0 / 410.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.337, allocations: 39.91 kB / 410.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3375, allocations: 65.98 kB / 410.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.3382, allocations: 424.1 kB / 411.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3385, allocations: 0.7398 MB / 412.1 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/0.3386, allocations: 23.44 kB / 412.1 MB, free: 13.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3386, allocations: 3.938 kB / 412.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of Templates: time 0.00521/0.3438, allocations: 2.998 MB / 415.1 MB, free: 10.74 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches