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.001346/0.001346, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3699, allocations: 50.54 MB / 409.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.003702/0.3736, allocations: 1.62 MB / 410.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3747, allocations: 0.5531 MB / 411.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3748, allocations: 4 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.375, allocations: 15.86 kB / 411.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.3751, allocations: 7.875 kB / 411.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.3755, allocations: 67.78 kB / 411.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.3757, allocations: 63.78 kB / 411.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3759, allocations: 15.98 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.376, allocations: 43.84 kB / 411.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.3761, allocations: 23.86 kB / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.3762, allocations: 4 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.558e-05/0.3762, allocations: 12 kB / 411.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.3763, allocations: 15.92 kB / 411.7 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.3764, allocations: 35.73 kB / 411.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.3766, allocations: 75.72 kB / 411.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3766, allocations: 3.938 kB / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3766, allocations: 0 / 411.8 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.3766, allocations: 0 / 411.8 MB, free: 15 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.0006207/0.3772, allocations: 408.1 kB / 412.2 MB, free: 14.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3773, allocations: 8.031 kB / 412.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.3776, allocations: 28.73 kB / 412.2 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.3779, allocations: 208 kB / 412.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.3779, allocations: 8.312 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.378, allocations: 384 / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.3784, allocations: 138.2 kB / 412.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3784, allocations: 0 / 412.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3784, allocations: 4 kB / 412.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.3784, allocations: 4 kB / 412.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3786, allocations: 43.91 kB / 412.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006704/0.3793, allocations: 373.9 kB / 413 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.3794, allocations: 83.77 kB / 413.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/0.3795, allocations: 46.56 kB / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.3795, allocations: 0 / 413.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3796, allocations: 30.56 kB / 413.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3796, allocations: 4 kB / 413.2 MB, free: 13.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003761/0.38, allocations: 121.4 kB / 413.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.38, allocations: 106.8 kB / 413.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3802, allocations: 154.2 kB / 413.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3802, allocations: 26.08 kB / 413.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.3803, allocations: 104.1 kB / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3803, allocations: 3.906 kB / 413.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.3804, allocations: 17.72 kB / 413.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3805, allocations: 326.8 kB / 414 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.129e-05/0.3806, allocations: 15.98 kB / 414 MB, free: 12.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-05/0.3806, allocations: 39.42 kB / 414.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.3808, allocations: 67.34 kB / 414.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3808, allocations: 0 / 414.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001873/0.381, allocations: 93.5 kB / 414.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.381, allocations: 7.125 kB / 414.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.381, allocations: 0 / 414.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.381, allocations: 4 kB / 414.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.3812, allocations: 15.92 kB / 414.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3812, allocations: 0 / 414.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.3812, allocations: 11.92 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3812, allocations: 4 kB / 414.3 MB, free: 12.25 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 9.714e-05/0.3813, allocations: 121.9 kB / 414.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.3814, allocations: 53.69 kB / 414.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.3815, allocations: 23.8 kB / 414.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.3815, allocations: 4 kB / 414.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3815, allocations: 0 / 414.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3815, allocations: 7.938 kB / 414.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.3818, allocations: 185.5 kB / 414.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3818, allocations: 3.938 kB / 414.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.3818, allocations: 11.98 kB / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3819, allocations: 4.031 kB / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3819, allocations: 4 kB / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3819, allocations: 0 / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3819, allocations: 0 / 414.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.3822, allocations: 275.5 kB / 414.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.709e-05/0.3822, allocations: 89 kB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.3823, allocations: 7.984 kB / 415 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3824, allocations: 8 kB / 415 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.3825, allocations: 7.938 kB / 415.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3825, allocations: 3.984 kB / 415.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.123e-05/0.3826, allocations: 116.1 kB / 415.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3826, allocations: 3.938 kB / 415.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.3828, allocations: 12 kB / 415.2 MB, free: 11.21 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.0001562/0.383, allocations: 99.25 kB / 415.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3832, allocations: 59.83 kB / 415.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3833, allocations: 0 / 415.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.3833, allocations: 15.98 kB / 415.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.3838, allocations: 26.62 kB / 415.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.3843, allocations: 216.8 kB / 415.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.3847, allocations: 0.6963 MB / 416.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.3847, allocations: 8 kB / 416.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.3848, allocations: 15.42 kB / 416.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3848, allocations: 0 / 416.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.004065/0.3888, allocations: 0.7093 MB / 417 MB, free: 9.328 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/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