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.0012/0.001201, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001396/0.001396, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 63.84 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3595, allocations: 50.54 MB / 409.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002829/0.3624, allocations: 1.627 MB / 410.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009516/0.3634, allocations: 0.5532 MB / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.729e-05/0.3635, allocations: 3.938 kB / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.3636, allocations: 3.938 kB / 411.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.3637, allocations: 15.86 kB / 411.5 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.364, allocations: 59.81 kB / 411.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3642, allocations: 63.77 kB / 411.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3643, allocations: 23.98 kB / 411.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.3644, allocations: 39.8 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.3645, allocations: 31.83 kB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3645, allocations: 4 kB / 411.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.969e-05/0.3646, allocations: 8 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.3647, allocations: 23.86 kB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.3647, allocations: 31.75 kB / 411.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.3649, allocations: 75.52 kB / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3649, allocations: 0 / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3649, allocations: 0 / 411.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3649, allocations: 0 / 411.8 MB, free: 15.04 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.0007253/0.3657, allocations: 410.9 kB / 412.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.3657, allocations: 8.031 kB / 412.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002974/0.366, allocations: 28.86 kB / 412.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.3664, allocations: 220 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.3664, allocations: 384 / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.3664, allocations: 4.375 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.3668, allocations: 130.2 kB / 412.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3668, allocations: 4 kB / 412.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3669, allocations: 0 / 412.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.3669, allocations: 7.984 kB / 412.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.367, allocations: 35.91 kB / 412.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.3676, allocations: 381.9 kB / 413 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.3678, allocations: 83.84 kB / 413.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.964e-05/0.3679, allocations: 38.55 kB / 413.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.3679, allocations: 4 kB / 413.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.368, allocations: 38.5 kB / 413.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.368, allocations: 0 / 413.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004404/0.3684, allocations: 117.5 kB / 413.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/0.3685, allocations: 107.2 kB / 413.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.3687, allocations: 150.2 kB / 413.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.3687, allocations: 25.7 kB / 413.6 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.3688, allocations: 100.1 kB / 413.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.3688, allocations: 15.89 kB / 413.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.3689, allocations: 13.72 kB / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.369, allocations: 322.8 kB / 414 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.3691, allocations: 23.98 kB / 414 MB, free: 12.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.3692, allocations: 47.34 kB / 414.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3694, allocations: 63.41 kB / 414.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3694, allocations: 3.938 kB / 414.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002002/0.3696, allocations: 85.55 kB / 414.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3696, allocations: 8 kB / 414.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3696, allocations: 3.938 kB / 414.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3697, allocations: 0 / 414.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3698, allocations: 12.11 kB / 414.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3698, allocations: 8 kB / 414.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.443e-05/0.3699, allocations: 4 kB / 414.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3699, allocations: 0 / 414.3 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.0001185/0.37, allocations: 129.7 kB / 414.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.3701, allocations: 61.67 kB / 414.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.3702, allocations: 15.83 kB / 414.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.3702, allocations: 4 kB / 414.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3702, allocations: 0 / 414.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3702, allocations: 4.031 kB / 414.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.3705, allocations: 181.6 kB / 414.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3705, allocations: 4 kB / 414.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.813e-05/0.3705, allocations: 15.98 kB / 414.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3705, allocations: 0 / 414.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.3705, allocations: 0 / 414.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3706, allocations: 0 / 414.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3706, allocations: 4 kB / 414.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.3708, allocations: 279.5 kB / 414.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.3709, allocations: 93.05 kB / 415 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.371, allocations: 0 / 415 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.3711, allocations: 8 kB / 415 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.3711, allocations: 7.984 kB / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.3711, allocations: 0 / 415.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.3712, allocations: 124.1 kB / 415.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.3712, allocations: 0 / 415.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3715, allocations: 11.94 kB / 415.2 MB, free: 11.24 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.0001005/0.3716, allocations: 99.19 kB / 415.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3718, allocations: 55.83 kB / 415.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3718, allocations: 8.25 kB / 415.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.896e-05/0.3719, allocations: 15.92 kB / 415.4 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.0004175/0.3723, allocations: 41.55 kB / 415.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/0.3727, allocations: 200.2 kB / 415.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.373, allocations: 0.7033 MB / 416.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.373, allocations: 11.98 kB / 416.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.3731, allocations: 11.38 kB / 416.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3731, allocations: 0 / 416.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of Templates: time 0.003409/0.3765, allocations: 0.7016 MB / 417 MB, free: 9.359 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