Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001987/0.001987, allocations: 197.5 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.674/1.674, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008688/0.0008688, allocations: 89.12 kB / 297.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.000311, allocations: 11.98 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2965, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.4038, allocations: 77.72 MB / 487.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4041, allocations: 75.95 kB / 487.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005352/0.4095, allocations: 1.822 MB / 489 MB, free: 11.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4095, allocations: 0 / 489 MB, free: 11.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.4095, allocations: 0 / 489 MB, free: 11.92 MB / 362.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.0005119/0.4101, allocations: 391 kB / 489.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4101, allocations: 8.031 kB / 489.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002182/0.4103, allocations: 36.81 kB / 489.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.4106, allocations: 204.6 kB / 489.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.4106, allocations: 4.375 kB / 489.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.4106, allocations: 4.375 kB / 489.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.411, allocations: 134.4 kB / 489.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.411, allocations: 4.125 kB / 489.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.411, allocations: 3.938 kB / 489.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.411, allocations: 4 kB / 489.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.4112, allocations: 51.95 kB / 489.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.4117, allocations: 373.9 kB / 490.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.4119, allocations: 87.72 kB / 490.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.412, allocations: 42.61 kB / 490.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.412, allocations: 7.984 kB / 490.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.412, allocations: 34.56 kB / 490.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.412, allocations: 0 / 490.4 MB, free: 10.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003822/0.4124, allocations: 125.7 kB / 490.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.4125, allocations: 110.8 kB / 490.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.4127, allocations: 149.3 kB / 490.7 MB, free: 9.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4127, allocations: 25.7 kB / 490.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.4128, allocations: 96.12 kB / 490.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.4128, allocations: 3.906 kB / 490.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.4128, allocations: 8 kB / 490.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4129, allocations: 322.8 kB / 491.2 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.413, allocations: 19.98 kB / 491.2 MB, free: 9.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.4131, allocations: 43.42 kB / 491.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.4132, allocations: 72.56 kB / 491.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4132, allocations: 7.938 kB / 491.3 MB, free: 9.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002176/0.4135, allocations: 101.4 kB / 491.4 MB, free: 9.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4135, allocations: 8 kB / 491.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4135, allocations: 0 / 491.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4135, allocations: 0 / 491.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.4136, allocations: 20.11 kB / 491.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4137, allocations: 0 / 491.4 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.4137, allocations: 11.98 kB / 491.5 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4137, allocations: 96 / 491.5 MB, free: 9.16 MB / 362.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: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.4138, allocations: 121.8 kB / 491.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.414, allocations: 57.52 kB / 491.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.414, allocations: 19.8 kB / 491.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.414, allocations: 8.031 kB / 491.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.414, allocations: 0 / 491.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.414, allocations: 0 / 491.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.4143, allocations: 193.4 kB / 491.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4143, allocations: 0 / 491.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.494e-05/0.4144, allocations: 11.98 kB / 491.9 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4144, allocations: 4 kB / 491.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.4144, allocations: 0 / 491.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.4144, allocations: 0 / 491.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4144, allocations: 4 kB / 491.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4147, allocations: 275.4 kB / 492.1 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.4148, allocations: 105 kB / 492.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.4148, allocations: 0 / 492.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.4149, allocations: 4 kB / 492.2 MB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.415, allocations: 7.984 kB / 492.2 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.415, allocations: 0 / 492.2 MB, free: 8.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.208e-05/0.4151, allocations: 119.9 kB / 492.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4151, allocations: 0 / 492.4 MB, free: 8.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002641/0.4153, allocations: 12 kB / 492.4 MB, free: 8.125 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000139/0.4155, allocations: 99.25 kB / 492.5 MB, free: 8.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.4157, allocations: 59.89 kB / 492.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4157, allocations: 0 / 492.5 MB, free: 7.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.473e-05/0.4158, allocations: 28.23 kB / 492.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.4162, allocations: 45.61 kB / 492.6 MB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.4168, allocations: 226.7 kB / 492.8 MB, free: 7.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.4171, allocations: 0.6965 MB / 493.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.828e-05/0.4172, allocations: 11.73 kB / 493.5 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.4172, allocations: 15.44 kB / 493.6 MB, free: 6.883 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4172, allocations: 0 / 493.6 MB, free: 6.883 MB / 362.7 MB Notification: Performance of Templates: time 0.003021/0.4202, allocations: 0.6151 MB / 494.2 MB, free: 6.285 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches