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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 111.2 kB / 17.06 MB, free: 6 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.001454/0.001454, allocations: 196 kB / 18 MB, free: 5.078 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.625/1.625, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 47.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4255, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002878/0.4284, allocations: 1.536 MB / 402.3 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000411/0.4289, allocations: 151.5 kB / 402.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.4289, allocations: 3.938 kB / 402.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.4291, allocations: 3.938 kB / 402.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.87e-05/0.4292, allocations: 7.938 kB / 402.4 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.4294, allocations: 35.89 kB / 402.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.4296, allocations: 47.78 kB / 402.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.4297, allocations: 20 kB / 402.5 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.4297, allocations: 15.92 kB / 402.5 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.4298, allocations: 15.92 kB / 402.5 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.4298, allocations: 4 kB / 402.6 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.4298, allocations: 4 kB / 402.6 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.4299, allocations: 11.94 kB / 402.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.4299, allocations: 35.72 kB / 402.6 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.43, allocations: 47.83 kB / 402.6 MB, free: 6.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4301, allocations: 4 kB / 402.7 MB, free: 6.926 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4301, allocations: 0 / 402.7 MB, free: 6.926 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.4301, allocations: 0 / 402.7 MB, free: 6.926 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.0004887/0.4306, allocations: 396.1 kB / 403 MB, free: 6.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4306, allocations: 12.03 kB / 403 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.4307, allocations: 8.844 kB / 403.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.4309, allocations: 196.1 kB / 403.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.4309, allocations: 8.375 kB / 403.3 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.431, allocations: 4.375 kB / 403.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.4312, allocations: 114.5 kB / 403.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4313, allocations: 192 / 403.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.4313, allocations: 11.92 kB / 403.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.4313, allocations: 7.984 kB / 403.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.4314, allocations: 39.91 kB / 403.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.4319, allocations: 362 kB / 403.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.432, allocations: 87.72 kB / 403.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/0.4321, allocations: 42.61 kB / 403.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.4321, allocations: 7.938 kB / 403.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.4322, allocations: 34.56 kB / 404 MB, free: 5.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.4322, allocations: 0 / 404 MB, free: 5.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003588/0.4325, allocations: 105.5 kB / 404.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.4326, allocations: 110.8 kB / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.4328, allocations: 148.9 kB / 404.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4328, allocations: 25.7 kB / 404.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.4328, allocations: 96.06 kB / 404.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.4329, allocations: 4 kB / 404.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-05/0.4329, allocations: 21.62 kB / 404.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.433, allocations: 318.8 kB / 404.8 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.918e-05/0.4331, allocations: 15.98 kB / 404.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.4332, allocations: 43.42 kB / 404.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.4333, allocations: 55.34 kB / 404.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4333, allocations: 3.938 kB / 404.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001664/0.4335, allocations: 85.59 kB / 405 MB, free: 4.309 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4335, allocations: 4 kB / 405 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4335, allocations: 4 kB / 405 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4335, allocations: 0 / 405 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.4336, allocations: 11.98 kB / 405 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4336, allocations: 7.938 kB / 405 MB, free: 4.281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.4337, allocations: 15.97 kB / 405 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.4337, allocations: 0 / 405 MB, free: 4.266 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[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.0001005/0.4338, allocations: 129.7 kB / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.4339, allocations: 57.53 kB / 405.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.4339, allocations: 11.88 kB / 405.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.4339, allocations: 0 / 405.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4339, allocations: 4 kB / 405.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.434, allocations: 0 / 405.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.4342, allocations: 177.6 kB / 405.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4342, allocations: 4.031 kB / 405.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.4342, allocations: 15.94 kB / 405.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4342, allocations: 0 / 405.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4343, allocations: 0 / 405.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4343, allocations: 4 kB / 405.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4343, allocations: 0 / 405.4 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.4345, allocations: 267.5 kB / 405.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.4346, allocations: 89 kB / 405.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.4346, allocations: 7.984 kB / 405.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.4347, allocations: 4 kB / 405.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.4348, allocations: 4 kB / 405.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4348, allocations: 0 / 405.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.285e-05/0.4348, allocations: 119.1 kB / 405.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4349, allocations: 4 kB / 405.9 MB, free: 3.277 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.4351, allocations: 4 kB / 405.9 MB, free: 3.273 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[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 0.000112/0.4352, allocations: 103.2 kB / 406 MB, free: 3.164 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.4354, allocations: 51.89 kB / 406 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4354, allocations: 0 / 406 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.4355, allocations: 20.23 kB / 406.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.4359, allocations: 27.95 kB / 406.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.4362, allocations: 175.1 kB / 406.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.4365, allocations: 0.6924 MB / 407 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.556e-05/0.4366, allocations: 4.359 kB / 407 MB, free: 2.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.4366, allocations: 15.44 kB / 407 MB, free: 2.125 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4366, allocations: 0 / 407 MB, free: 2.125 MB / 318.1 MB Notification: Performance of Templates: time 0.002972/0.4396, allocations: 0.628 MB / 407.6 MB, free: 1.512 MB / 318.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches