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.001465/0.001465, allocations: 112.6 kB / 17.06 MB, free: 5.992 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.0018/0.0018, allocations: 194.9 kB / 18 MB, free: 5.074 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.559/1.559, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 47.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.4481, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.004444/0.4526, allocations: 1.534 MB / 402.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005386/0.4532, allocations: 147.5 kB / 402.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.4533, allocations: 3.938 kB / 402.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.4535, allocations: 7.922 kB / 402.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.4536, allocations: 11.88 kB / 402.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.454, allocations: 41.89 kB / 402.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.4541, allocations: 39.8 kB / 402.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.4543, allocations: 19.98 kB / 402.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.096e-05/0.4543, allocations: 19.92 kB / 402.5 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.4544, allocations: 15.92 kB / 402.5 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.4544, allocations: 4 kB / 402.6 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.4545, allocations: 4 kB / 402.6 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.4546, allocations: 15.92 kB / 402.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.995e-05/0.4546, allocations: 27.75 kB / 402.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.4548, allocations: 55.59 kB / 402.7 MB, free: 6.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4548, allocations: 0 / 402.7 MB, free: 6.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4548, allocations: 4 kB / 402.7 MB, free: 6.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.4548, allocations: 0 / 402.7 MB, free: 6.938 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.0007207/0.4556, allocations: 383.1 kB / 403 MB, free: 6.512 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.4556, allocations: 19.95 kB / 403.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.4557, allocations: 12.84 kB / 403.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.4561, allocations: 188.2 kB / 403.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.4561, allocations: 4.375 kB / 403.3 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.4561, allocations: 16.34 kB / 403.3 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.4566, allocations: 118.4 kB / 403.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4566, allocations: 192 / 403.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.4566, allocations: 3.938 kB / 403.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.4566, allocations: 8 kB / 403.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.4568, allocations: 39.91 kB / 403.4 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006737/0.4575, allocations: 365.9 kB / 403.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.4577, allocations: 87.7 kB / 403.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.4579, allocations: 38.62 kB / 403.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.4579, allocations: 0 / 403.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.4579, allocations: 42.5 kB / 404 MB, free: 5.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.4579, allocations: 0 / 404 MB, free: 5.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004986/0.4584, allocations: 109.5 kB / 404.1 MB, free: 5.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.4585, allocations: 102.8 kB / 404.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4587, allocations: 141.8 kB / 404.3 MB, free: 5.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.4588, allocations: 30.02 kB / 404.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.4588, allocations: 100 kB / 404.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.4589, allocations: 4 kB / 404.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.4589, allocations: 29.59 kB / 404.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4591, allocations: 314.8 kB / 404.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.4592, allocations: 15.98 kB / 404.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.823e-05/0.4593, allocations: 47.41 kB / 404.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.4595, allocations: 55.34 kB / 404.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4595, allocations: 3.938 kB / 404.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002372/0.4597, allocations: 81.61 kB / 405 MB, free: 4.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4598, allocations: 4 kB / 405 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.4598, allocations: 4 kB / 405 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4598, allocations: 0 / 405 MB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.4599, allocations: 11.98 kB / 405 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4599, allocations: 3.938 kB / 405 MB, free: 4.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.46, allocations: 7.984 kB / 405 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.46, allocations: 4.125 kB / 405 MB, free: 4.281 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.000134/0.4602, allocations: 129.7 kB / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.4603, allocations: 61.58 kB / 405.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.4604, allocations: 11.88 kB / 405.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.4604, allocations: 3.984 kB / 405.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4604, allocations: 0 / 405.2 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4604, allocations: 8 kB / 405.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.4608, allocations: 173.6 kB / 405.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4608, allocations: 0 / 405.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.4609, allocations: 16.02 kB / 405.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4609, allocations: 0 / 405.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4609, allocations: 0 / 405.4 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4609, allocations: 3.938 kB / 405.4 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4609, allocations: 4 kB / 405.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.4613, allocations: 267.5 kB / 405.7 MB, free: 3.527 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.4614, allocations: 89.05 kB / 405.8 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.4614, allocations: 4 kB / 405.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4616, allocations: 4 kB / 405.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.4617, allocations: 7.984 kB / 405.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.4617, allocations: 0 / 405.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.4618, allocations: 114 kB / 405.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.677e-06/0.4618, allocations: 3.938 kB / 405.9 MB, free: 3.293 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.4622, allocations: 11.94 kB / 405.9 MB, free: 3.281 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.0001353/0.4624, allocations: 99.25 kB / 406 MB, free: 3.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.4627, allocations: 48.05 kB / 406 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4627, allocations: 0 / 406 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.4628, allocations: 16.3 kB / 406.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006377/0.4634, allocations: 43.92 kB / 406.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.4639, allocations: 186.9 kB / 406.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.4643, allocations: 0.6924 MB / 407 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.742e-05/0.4644, allocations: 7.984 kB / 407 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.4644, allocations: 15.44 kB / 407 MB, free: 2.113 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4644, allocations: 4.094 kB / 407 MB, free: 2.109 MB / 318.1 MB Notification: Performance of Templates: time 0.0041/0.4685, allocations: 0.6173 MB / 407.6 MB, free: 1.508 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