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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 104 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008374/0.0008374, allocations: 31.95 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3167, allocations: 49.45 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003441/0.3202, allocations: 1.557 MB / 401 MB, free: 31.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000465/0.3207, allocations: 143.5 kB / 401.2 MB, free: 31.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.3208, allocations: 4 kB / 401.2 MB, free: 31.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.321, allocations: 7.922 kB / 401.2 MB, free: 31.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.3211, allocations: 4 kB / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.3214, allocations: 36.41 kB / 401.2 MB, free: 31.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.3216, allocations: 41.2 kB / 401.3 MB, free: 31.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.3218, allocations: 23.97 kB / 401.3 MB, free: 31.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.236e-05/0.3219, allocations: 15.94 kB / 401.3 MB, free: 31.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.3219, allocations: 15.92 kB / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.322, allocations: 0 / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.914e-05/0.322, allocations: 7.938 kB / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.19e-05/0.3221, allocations: 15.92 kB / 401.3 MB, free: 31.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.383e-05/0.3222, allocations: 23.81 kB / 401.4 MB, free: 31.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.3223, allocations: 51.8 kB / 401.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.3223, allocations: 0 / 401.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3223, allocations: 4 kB / 401.4 MB, free: 31.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3223, allocations: 0 / 401.4 MB, free: 31.42 MB / 298.7 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.0006043/0.323, allocations: 368.7 kB / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.323, allocations: 8.031 kB / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.733e-05/0.3231, allocations: 8.844 kB / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3233, allocations: 204.1 kB / 402 MB, free: 30.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.3234, allocations: 4.312 kB / 402 MB, free: 30.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3234, allocations: 8.375 kB / 402 MB, free: 30.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.3237, allocations: 118.5 kB / 402.1 MB, free: 30.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3238, allocations: 192 / 402.1 MB, free: 30.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.3238, allocations: 3.938 kB / 402.1 MB, free: 30.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.3238, allocations: 4 kB / 402.1 MB, free: 30.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.324, allocations: 23.98 kB / 402.2 MB, free: 30.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.3245, allocations: 361.9 kB / 402.5 MB, free: 30.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3246, allocations: 83.72 kB / 402.6 MB, free: 30.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.807e-05/0.3247, allocations: 30.62 kB / 402.6 MB, free: 30.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.3247, allocations: 0 / 402.6 MB, free: 30.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3248, allocations: 38.56 kB / 402.7 MB, free: 29.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3248, allocations: 0 / 402.7 MB, free: 29.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004643/0.3253, allocations: 101.6 kB / 402.8 MB, free: 29.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.3253, allocations: 102.8 kB / 402.9 MB, free: 29.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3255, allocations: 141.2 kB / 403 MB, free: 29.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3255, allocations: 29.7 kB / 403 MB, free: 29.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.3256, allocations: 96.11 kB / 403.1 MB, free: 29.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.3256, allocations: 0 / 403.1 MB, free: 29.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.3256, allocations: 21.62 kB / 403.1 MB, free: 29.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.3257, allocations: 327 kB / 403.5 MB, free: 29.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.825e-05/0.3258, allocations: 12 kB / 403.5 MB, free: 29.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.3259, allocations: 35.42 kB / 403.5 MB, free: 29.05 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.326, allocations: 59.28 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.326, allocations: 0 / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001726/0.3262, allocations: 69.56 kB / 403.6 MB, free: 28.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3262, allocations: 8 kB / 403.6 MB, free: 28.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3262, allocations: 7.922 kB / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3263, allocations: 0 / 403.7 MB, free: 28.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.704e-05/0.3263, allocations: 8.125 kB / 403.7 MB, free: 28.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3263, allocations: 0 / 403.7 MB, free: 28.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.3264, allocations: 4 kB / 403.7 MB, free: 28.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.3264, allocations: 0 / 403.7 MB, free: 28.88 MB / 298.7 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.0001898/0.3266, allocations: 129.7 kB / 403.8 MB, free: 28.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.3267, allocations: 53.55 kB / 403.8 MB, free: 28.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.3268, allocations: 15.86 kB / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.3268, allocations: 0 / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3268, allocations: 8.031 kB / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3268, allocations: 0 / 403.9 MB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.3271, allocations: 173.6 kB / 404 MB, free: 28.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3271, allocations: 4 kB / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.3271, allocations: 3.984 kB / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3271, allocations: 4 kB / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3271, allocations: 0 / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3272, allocations: 0 / 404 MB, free: 28.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3272, allocations: 4 kB / 404.1 MB, free: 28.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.3276, allocations: 0.8257 MB / 404.9 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.675e-05/0.3277, allocations: 96.98 kB / 405 MB, free: 27.42 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3278, allocations: 0 / 405 MB, free: 27.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.3279, allocations: 8 kB / 405 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.328, allocations: 15.86 kB / 405 MB, free: 27.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.328, allocations: 4 kB / 405 MB, free: 27.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.384e-05/0.3281, allocations: 103.3 kB / 405.1 MB, free: 27.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3281, allocations: 0 / 405.1 MB, free: 27.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006657/0.3288, allocations: 4 kB / 405.1 MB, free: 27.29 MB / 298.7 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.0001542/0.3289, allocations: 103.2 kB / 405.2 MB, free: 27.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.3292, allocations: 48.05 kB / 405.3 MB, free: 27.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3292, allocations: 0 / 405.3 MB, free: 27.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.675e-05/0.3293, allocations: 11.98 kB / 405.3 MB, free: 27.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.33, allocations: 20.64 kB / 405.3 MB, free: 27.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.3305, allocations: 312.5 kB / 405.6 MB, free: 26.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.3307, allocations: 0.6887 MB / 406.3 MB, free: 26.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.3307, allocations: 11.98 kB / 406.3 MB, free: 26.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.3308, allocations: 7.438 kB / 406.3 MB, free: 26.01 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3308, allocations: 0 / 406.3 MB, free: 26.01 MB / 298.7 MB Notification: Performance of Templates: time 0.003592/0.3344, allocations: 0.5609 MB / 406.9 MB, free: 25.47 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches