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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009411/0.0009413, allocations: 93.67 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 203.1 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.7 MB / 247.5 MB, free: 9.492 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002177/0.0002177, allocations: 4 kB / 308.4 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08529/0.08553, allocations: 51.52 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001735/0.0873, allocations: 1.34 MB / 361.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009266/0.08825, allocations: 0.5378 MB / 361.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.725e-05/0.08836, allocations: 7.938 kB / 361.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.178e-05/0.08845, allocations: 7.922 kB / 361.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.27e-05/0.08855, allocations: 15.92 kB / 361.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.08883, allocations: 51.88 kB / 361.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.08895, allocations: 63.72 kB / 361.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.08906, allocations: 23.97 kB / 362 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.08918, allocations: 31.84 kB / 362 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.08925, allocations: 27.8 kB / 362 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.08927, allocations: 4 kB / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.866e-05/0.08933, allocations: 4 kB / 362 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.08938, allocations: 15.92 kB / 362 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.08944, allocations: 61.44 kB / 362.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.778e-05/0.08954, allocations: 47.91 kB / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.08955, allocations: 0 / 362.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.08956, allocations: 4 kB / 362.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.08957, allocations: 0 / 362.2 MB, free: 10.79 MB / 302.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.0004749/0.09005, allocations: 395.3 kB / 362.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.09009, allocations: 8.031 kB / 362.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.09031, allocations: 28.83 kB / 362.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.09054, allocations: 209.2 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.09057, allocations: 4.375 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.09059, allocations: 4.375 kB / 362.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.0909, allocations: 130.2 kB / 362.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.09093, allocations: 11.94 kB / 362.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.09095, allocations: 4 kB / 362.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.09098, allocations: 3.984 kB / 362.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.09113, allocations: 43.97 kB / 363 MB, free: 9.855 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.09164, allocations: 389.7 kB / 363.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.0918, allocations: 87.77 kB / 363.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.703e-05/0.0919, allocations: 42.62 kB / 363.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.09192, allocations: 0 / 363.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.09195, allocations: 38.56 kB / 363.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.09196, allocations: 0 / 363.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003656/0.09233, allocations: 129.8 kB / 363.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.0924, allocations: 106.8 kB / 363.8 MB, free: 8.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.09254, allocations: 158.8 kB / 363.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.09256, allocations: 25.7 kB / 363.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.891e-05/0.09262, allocations: 96.06 kB / 364 MB, free: 8.652 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.09264, allocations: 7.906 kB / 364 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.09267, allocations: 13.72 kB / 364 MB, free: 8.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.09279, allocations: 322.8 kB / 364.4 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.09287, allocations: 27.92 kB / 364.4 MB, free: 8.273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.129e-05/0.09296, allocations: 47.36 kB / 364.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.09313, allocations: 79.33 kB / 364.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.09314, allocations: 0 / 364.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002097/0.09336, allocations: 97.45 kB / 364.6 MB, free: 8.023 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.09338, allocations: 11.98 kB / 364.6 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.09339, allocations: 0 / 364.6 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.09341, allocations: 0 / 364.6 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.583e-05/0.09351, allocations: 12 kB / 364.6 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.09353, allocations: 3.984 kB / 364.6 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.09359, allocations: 12.12 kB / 364.6 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.09361, allocations: 0 / 364.6 MB, free: 7.984 MB / 302.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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/0.09371, allocations: 129.8 kB / 364.8 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/0.0938, allocations: 49.55 kB / 364.8 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.09384, allocations: 19.81 kB / 364.8 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.09386, allocations: 4 kB / 364.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.09387, allocations: 0 / 364.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.09388, allocations: 0 / 364.8 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.09412, allocations: 197.5 kB / 365 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.09413, allocations: 0 / 365 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.229e-05/0.0942, allocations: 11.98 kB / 365.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.09421, allocations: 0 / 365.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.09422, allocations: 4 kB / 365.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.09423, allocations: 0 / 365.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.09423, allocations: 0 / 365.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.09452, allocations: 291.5 kB / 365.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.09459, allocations: 93 kB / 365.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.09461, allocations: 4 kB / 365.4 MB, free: 7.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.09473, allocations: 12 kB / 365.4 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.09478, allocations: 3.984 kB / 365.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.09479, allocations: 4 kB / 365.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.621e-05/0.09487, allocations: 115.2 kB / 365.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09488, allocations: 0 / 365.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.09516, allocations: 8 kB / 365.6 MB, free: 6.949 MB / 302.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: 0 () * 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.0001034/0.09526, allocations: 103.2 kB / 365.7 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002001/0.09547, allocations: 67.83 kB / 365.7 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.09548, allocations: 3.938 kB / 365.7 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.09556, allocations: 23.98 kB / 365.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.096, allocations: 23.86 kB / 365.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/0.09644, allocations: 268.4 kB / 366.1 MB, free: 6.418 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.09672, allocations: 0.7043 MB / 366.8 MB, free: 5.688 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.559e-05/0.09677, allocations: 19.38 kB / 366.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.09678, allocations: 0 / 366.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of Templates: time 0.002409/0.09919, allocations: 0.9558 MB / 367.7 MB, free: 4.723 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches