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.001897/0.001898, allocations: 113.7 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004576/0.004576, allocations: 212.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.912/2.912, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 55.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6919, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.006633/0.6986, allocations: 1.62 MB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.7007, allocations: 0.5532 MB / 412.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.7009, allocations: 3.938 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.7011, allocations: 3.938 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.7014, allocations: 15.86 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.702, allocations: 63.81 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.7022, allocations: 59.77 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.7024, allocations: 19.98 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.7027, allocations: 43.8 kB / 412.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.7029, allocations: 23.86 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.7029, allocations: 4 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.652e-05/0.703, allocations: 15.97 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.7031, allocations: 15.94 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.87e-05/0.7032, allocations: 35.73 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.7035, allocations: 75.72 kB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.7035, allocations: 0 / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.155e-06/0.7035, allocations: 0 / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.7035, allocations: 0 / 412.5 MB, free: 15.03 MB / 334.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.0009559/0.7045, allocations: 400.1 kB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.473e-05/0.7046, allocations: 12.03 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004004/0.705, allocations: 32.72 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.7055, allocations: 216 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.7056, allocations: 4.312 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.7056, allocations: 4.375 kB / 413.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.7061, allocations: 130.2 kB / 413.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.7062, allocations: 4 kB / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.7062, allocations: 0 / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.7062, allocations: 0 / 413.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.7064, allocations: 43.89 kB / 413.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.7073, allocations: 381.9 kB / 413.7 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/0.7075, allocations: 79.78 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.7076, allocations: 42.61 kB / 413.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.7077, allocations: 4 kB / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.7077, allocations: 34.5 kB / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.7077, allocations: 0 / 413.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006275/0.7084, allocations: 117.7 kB / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.7085, allocations: 110.8 kB / 414.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.7088, allocations: 150.2 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.7088, allocations: 25.7 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.709, allocations: 96.12 kB / 414.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.709, allocations: 11.84 kB / 414.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.7091, allocations: 13.72 kB / 414.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002637/0.7094, allocations: 326.8 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.7095, allocations: 23.92 kB / 414.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.7096, allocations: 43.42 kB / 414.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.7099, allocations: 71.33 kB / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.7099, allocations: 0 / 414.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003137/0.7102, allocations: 81.52 kB / 414.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.7102, allocations: 7.984 kB / 414.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.7103, allocations: 7.984 kB / 414.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.7103, allocations: 0 / 414.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.7105, allocations: 12.12 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.7105, allocations: 7.984 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.452e-05/0.7106, allocations: 3.938 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.7106, allocations: 4 kB / 414.9 MB, free: 12.28 MB / 334.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 0.0001987/0.7108, allocations: 129.7 kB / 415.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.711, allocations: 49.61 kB / 415.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.725e-05/0.7111, allocations: 19.81 kB / 415.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/0.7111, allocations: 8.078 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.7111, allocations: 8.031 kB / 415.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7111, allocations: 3.938 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.7116, allocations: 185.5 kB / 415.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.7116, allocations: 4 kB / 415.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/0.7117, allocations: 7.984 kB / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.7117, allocations: 0 / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.7117, allocations: 4 kB / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.7117, allocations: 0 / 415.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.7117, allocations: 3.938 kB / 415.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.7122, allocations: 275.5 kB / 415.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.7124, allocations: 93 kB / 415.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.7124, allocations: 4 kB / 415.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.7126, allocations: 4 kB / 415.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.7127, allocations: 3.984 kB / 415.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.7127, allocations: 8 kB / 415.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.7129, allocations: 116.1 kB / 415.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.647e-06/0.7129, allocations: 0 / 415.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004506/0.7134, allocations: 11.94 kB / 415.9 MB, free: 11.25 MB / 334.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.0002241/0.7136, allocations: 107.2 kB / 416 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.7139, allocations: 56.08 kB / 416 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.7139, allocations: 0 / 416 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.714, allocations: 23.92 kB / 416 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007343/0.7148, allocations: 24.02 kB / 416.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.7156, allocations: 237.8 kB / 416.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.7162, allocations: 0.7043 MB / 417 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.7163, allocations: 15.44 kB / 417 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 1.532e-06/0.7163, allocations: 0 / 417 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.005764/0.722, allocations: 0.981 MB / 418 MB, free: 9.047 MB / 334.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