Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001459, allocations: 115.1 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.001228/0.001228, allocations: 200 kB / 18.01 MB, free: 5.055 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.573/1.573, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009845/0.0009845, allocations: 51.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3432, allocations: 49.43 MB / 400.7 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003292/0.3465, allocations: 1.516 MB / 402.2 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004388/0.347, allocations: 147.5 kB / 402.4 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.957e-05/0.3471, allocations: 3.938 kB / 402.4 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.3472, allocations: 7.922 kB / 402.4 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.3474, allocations: 11.92 kB / 402.4 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.3476, allocations: 39.89 kB / 402.4 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.3478, allocations: 35.86 kB / 402.5 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3479, allocations: 23.98 kB / 402.5 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.513e-05/0.3479, allocations: 11.94 kB / 402.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.535e-05/0.348, allocations: 23.86 kB / 402.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.348, allocations: 0 / 402.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.348, allocations: 4 kB / 402.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.3481, allocations: 19.92 kB / 402.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.3482, allocations: 23.8 kB / 402.6 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.3483, allocations: 47.81 kB / 402.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.3483, allocations: 7.938 kB / 402.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3483, allocations: 0 / 402.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.3483, allocations: 8 kB / 402.6 MB, free: 6.812 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000544/0.3489, allocations: 367.4 kB / 403 MB, free: 6.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3489, allocations: 8.031 kB / 403 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.349, allocations: 8.844 kB / 403 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.3493, allocations: 202.5 kB / 403.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.3493, allocations: 4.375 kB / 403.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.3493, allocations: 4.375 kB / 403.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.3496, allocations: 118.5 kB / 403.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3496, allocations: 192 / 403.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3497, allocations: 3.938 kB / 403.3 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.3497, allocations: 8 kB / 403.3 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.3498, allocations: 27.92 kB / 403.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.3503, allocations: 354 kB / 403.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3504, allocations: 79.78 kB / 403.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.108e-05/0.3505, allocations: 38.56 kB / 403.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.3505, allocations: 0 / 403.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3505, allocations: 38.5 kB / 403.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 3.647e-06/0.3505, allocations: 3.984 kB / 403.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000306/0.3508, allocations: 101.8 kB / 404 MB, free: 5.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.3509, allocations: 102.8 kB / 404.1 MB, free: 5.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3511, allocations: 149.7 kB / 404.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.3511, allocations: 25.7 kB / 404.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.3511, allocations: 96.05 kB / 404.3 MB, free: 4.855 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.3512, allocations: 0 / 404.3 MB, free: 4.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.3512, allocations: 21.72 kB / 404.4 MB, free: 4.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.3513, allocations: 322.9 kB / 404.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.3514, allocations: 11.98 kB / 404.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.048e-05/0.3515, allocations: 35.38 kB / 404.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3516, allocations: 55.34 kB / 404.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3516, allocations: 0 / 404.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001359/0.3517, allocations: 77.45 kB / 404.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3517, allocations: 8 kB / 404.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3518, allocations: 0 / 404.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3518, allocations: 4 kB / 404.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.255e-05/0.3518, allocations: 0 / 404.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3518, allocations: 8.125 kB / 404.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.713e-05/0.3519, allocations: 7.938 kB / 404.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.3519, allocations: 0 / 404.9 MB, free: 4.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001124/0.352, allocations: 137.6 kB / 405 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.3521, allocations: 49.59 kB / 405.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.3521, allocations: 11.88 kB / 405.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.3521, allocations: 4 kB / 405.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3522, allocations: 0 / 405.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3522, allocations: 4.031 kB / 405.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.3524, allocations: 177.6 kB / 405.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3524, allocations: 0 / 405.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-06/0.3524, allocations: 4 kB / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3524, allocations: 0 / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3525, allocations: 0 / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3525, allocations: 0 / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3525, allocations: 4 kB / 405.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.3527, allocations: 259.5 kB / 405.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.3528, allocations: 93 kB / 405.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.3528, allocations: 0 / 405.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.3529, allocations: 11.98 kB / 405.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.353, allocations: 0 / 405.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-06/0.353, allocations: 7.938 kB / 405.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.724e-05/0.353, allocations: 113.4 kB / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3531, allocations: 0 / 405.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.3533, allocations: 4 kB / 405.7 MB, free: 3.301 MB / 318.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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0001324/0.3535, allocations: 103.2 kB / 405.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3536, allocations: 43.91 kB / 405.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3536, allocations: 3.938 kB / 405.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.3537, allocations: 16.19 kB / 405.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.3541, allocations: 27.94 kB / 405.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.3545, allocations: 179.2 kB / 406.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3548, allocations: 0.6961 MB / 406.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.357e-05/0.3549, allocations: 4 kB / 406.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.3549, allocations: 7.656 kB / 406.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3549, allocations: 4 kB / 406.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of Templates: time 0.003204/0.3581, allocations: 0.6196 MB / 407.4 MB, free: 1.551 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches