Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 188.9 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 11 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.001452/0.001452, allocations: 104.5 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008618/0.0008619, allocations: 39.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3149, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002649/0.3177, allocations: 1.573 MB / 401.1 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003593/0.318, allocations: 139.5 kB / 401.2 MB, free: 31.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.3181, allocations: 7.938 kB / 401.2 MB, free: 31.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.3183, allocations: 7.984 kB / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.166e-05/0.3184, allocations: 3.938 kB / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.3186, allocations: 39.89 kB / 401.2 MB, free: 31.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.3187, allocations: 39.86 kB / 401.3 MB, free: 31.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3188, allocations: 18.55 kB / 401.3 MB, free: 31.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.3188, allocations: 15.88 kB / 401.3 MB, free: 31.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.646e-05/0.3189, allocations: 15.92 kB / 401.3 MB, free: 31.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.3189, allocations: 11.94 kB / 401.3 MB, free: 31.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.3189, allocations: 0 / 401.3 MB, free: 31.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.076e-05/0.319, allocations: 19.97 kB / 401.4 MB, free: 31.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.319, allocations: 27.69 kB / 401.4 MB, free: 31.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.978e-05/0.3191, allocations: 51.81 kB / 401.4 MB, free: 31.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3191, allocations: 0 / 401.4 MB, free: 31.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3191, allocations: 0 / 401.4 MB, free: 31.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.3191, allocations: 0 / 401.4 MB, free: 31.41 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.0004398/0.3196, allocations: 384.7 kB / 401.8 MB, free: 30.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3196, allocations: 12.03 kB / 401.8 MB, free: 30.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.3197, allocations: 12.75 kB / 401.8 MB, free: 30.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.3198, allocations: 192.2 kB / 402 MB, free: 30.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3199, allocations: 4.375 kB / 402 MB, free: 30.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3199, allocations: 4.375 kB / 402 MB, free: 30.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.3201, allocations: 122.4 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3202, allocations: 4.125 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3202, allocations: 7.938 kB / 402.2 MB, free: 30.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.3202, allocations: 4 kB / 402.2 MB, free: 30.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.3203, allocations: 31.97 kB / 402.2 MB, free: 30.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.3207, allocations: 377.8 kB / 402.6 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.3209, allocations: 83.7 kB / 402.7 MB, free: 30.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.321, allocations: 38.62 kB / 402.7 MB, free: 29.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.321, allocations: 0 / 402.7 MB, free: 29.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.3211, allocations: 34.56 kB / 402.7 MB, free: 29.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.3211, allocations: 0 / 402.7 MB, free: 29.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003409/0.3214, allocations: 117.8 kB / 402.8 MB, free: 29.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3215, allocations: 102.8 kB / 402.9 MB, free: 29.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.3216, allocations: 144.9 kB / 403.1 MB, free: 29.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.3216, allocations: 25.7 kB / 403.1 MB, free: 29.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.3216, allocations: 88.14 kB / 403.2 MB, free: 29.4 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.3217, allocations: 7.922 kB / 403.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.3217, allocations: 21.7 kB / 403.2 MB, free: 29.37 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.3218, allocations: 322.9 kB / 403.5 MB, free: 29.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.3218, allocations: 11.98 kB / 403.6 MB, free: 29.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.3219, allocations: 43.42 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.322, allocations: 63.28 kB / 403.7 MB, free: 28.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3221, allocations: 3.938 kB / 403.7 MB, free: 28.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001485/0.3222, allocations: 85.45 kB / 403.7 MB, free: 28.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3222, allocations: 4 kB / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3222, allocations: 4 kB / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3223, allocations: 4.125 kB / 403.8 MB, free: 28.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.3224, allocations: 15.92 kB / 403.8 MB, free: 28.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3224, allocations: 3.984 kB / 403.8 MB, free: 28.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.3224, allocations: 11.92 kB / 403.8 MB, free: 28.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3224, allocations: 4 kB / 403.8 MB, free: 28.76 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[2],sample1.u[1],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.0001321/0.3226, allocations: 125.8 kB / 403.9 MB, free: 28.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.3227, allocations: 53.53 kB / 404 MB, free: 28.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.3227, allocations: 11.91 kB / 404 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.3227, allocations: 7.984 kB / 404 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3227, allocations: 0 / 404 MB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3227, allocations: 4 kB / 404 MB, free: 28.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3229, allocations: 173.6 kB / 404.2 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3229, allocations: 0 / 404.2 MB, free: 28.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.323, allocations: 11.98 kB / 404.2 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.323, allocations: 0 / 404.2 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.323, allocations: 96 / 404.2 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.323, allocations: 0 / 404.2 MB, free: 28.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.323, allocations: 8 kB / 404.2 MB, free: 28.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3234, allocations: 0.845 MB / 405 MB, free: 27.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.3234, allocations: 93 kB / 405.1 MB, free: 27.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.3235, allocations: 7.984 kB / 405.1 MB, free: 27.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.3236, allocations: 7.984 kB / 405.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.3236, allocations: 7.938 kB / 405.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.3236, allocations: 0 / 405.1 MB, free: 27.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.686e-05/0.3237, allocations: 107.2 kB / 405.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3237, allocations: 3.938 kB / 405.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003347/0.324, allocations: 12 kB / 405.3 MB, free: 27.14 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[2],sample1.u[1],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 9.987e-05/0.3241, allocations: 103.2 kB / 405.4 MB, free: 27.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.3243, allocations: 43.91 kB / 405.4 MB, free: 26.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3243, allocations: 0 / 405.4 MB, free: 26.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.586e-05/0.3244, allocations: 15.98 kB / 405.4 MB, free: 26.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3248, allocations: 27.95 kB / 405.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.3252, allocations: 320.8 kB / 405.8 MB, free: 26.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.3253, allocations: 0.6926 MB / 406.5 MB, free: 25.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.571e-05/0.3254, allocations: 11.98 kB / 406.5 MB, free: 25.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.3254, allocations: 11.44 kB / 406.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of SimCode: time 1.91e-07/0.3254, allocations: 0 / 406.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of Templates: time 0.002616/0.328, allocations: 0.5585 MB / 407 MB, free: 25.3 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches