Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 201.2 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.534/1.534, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 55.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3569, allocations: 50.55 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00332/0.3603, allocations: 1.53 MB / 410.8 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005132/0.3608, allocations: 143.5 kB / 410.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3609, allocations: 7.938 kB / 410.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.3611, allocations: 3.938 kB / 410.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.3612, allocations: 3.938 kB / 410.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.3616, allocations: 51.45 kB / 411 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.3617, allocations: 35.86 kB / 411 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.3619, allocations: 23.97 kB / 411 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.362, allocations: 19.92 kB / 411.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.008e-05/0.3621, allocations: 11.94 kB / 411.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.3621, allocations: 4 kB / 411.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.3621, allocations: 0 / 411.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.198e-05/0.3622, allocations: 19.92 kB / 411.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.3623, allocations: 31.73 kB / 411.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.3625, allocations: 55.55 kB / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3625, allocations: 0 / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3625, allocations: 0 / 411.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3625, allocations: 0 / 411.2 MB, free: 15.66 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.0006388/0.3632, allocations: 391 kB / 411.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3632, allocations: 8.031 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.3633, allocations: 8.891 kB / 411.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3635, allocations: 198.6 kB / 411.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3636, allocations: 12.31 kB / 411.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.3636, allocations: 384 / 411.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.3639, allocations: 122.5 kB / 411.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3639, allocations: 192 / 411.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3639, allocations: 3.938 kB / 411.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.364, allocations: 11.98 kB / 411.9 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.3641, allocations: 35.91 kB / 412 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.3646, allocations: 369.8 kB / 412.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3648, allocations: 83.78 kB / 412.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.901e-05/0.3649, allocations: 50.53 kB / 412.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.3649, allocations: 0 / 412.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3649, allocations: 34.56 kB / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3649, allocations: 0 / 412.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003482/0.3653, allocations: 109.5 kB / 412.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.3654, allocations: 114.8 kB / 412.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3655, allocations: 133.8 kB / 412.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.3655, allocations: 29.7 kB / 412.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.3656, allocations: 96.44 kB / 413 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.322e-05/0.3656, allocations: 11.95 kB / 413 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.3656, allocations: 17.72 kB / 413 MB, free: 13.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3658, allocations: 314.8 kB / 413.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.3658, allocations: 23.98 kB / 413.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.3659, allocations: 39.42 kB / 413.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.366, allocations: 59.34 kB / 413.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.366, allocations: 3.938 kB / 413.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001758/0.3662, allocations: 89.58 kB / 413.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3663, allocations: 4 kB / 413.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3663, allocations: 0 / 413.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3663, allocations: 4 kB / 413.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.882e-05/0.3664, allocations: 15.92 kB / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3664, allocations: 0 / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.3664, allocations: 4 kB / 413.5 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3665, allocations: 4 kB / 413.5 MB, free: 12.99 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: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * 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.0001019/0.3666, allocations: 133.8 kB / 413.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.378e-05/0.3666, allocations: 45.66 kB / 413.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.3667, allocations: 19.81 kB / 413.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.3667, allocations: 4 kB / 413.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3667, allocations: 0 / 413.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3667, allocations: 3.938 kB / 413.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.367, allocations: 181.5 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.367, allocations: 3.984 kB / 413.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.367, allocations: 4 kB / 413.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.367, allocations: 4.031 kB / 413.9 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.367, allocations: 4 kB / 413.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.367, allocations: 0 / 413.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3671, allocations: 0 / 413.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.3674, allocations: 267.5 kB / 414.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.3674, allocations: 93.05 kB / 414.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.3675, allocations: 4 kB / 414.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3676, allocations: 11.92 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.3676, allocations: 4 kB / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3676, allocations: 0 / 414.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.694e-05/0.3677, allocations: 109.5 kB / 414.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3677, allocations: 3.938 kB / 414.4 MB, free: 12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.368, allocations: 8 kB / 414.4 MB, free: 12 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: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * 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.0001407/0.3681, allocations: 103.2 kB / 414.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.3683, allocations: 51.89 kB / 414.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3683, allocations: 0 / 414.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.3684, allocations: 11.98 kB / 414.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.3689, allocations: 43.75 kB / 414.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.3693, allocations: 187 kB / 414.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.3697, allocations: 0.6885 MB / 415.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.197e-05/0.3698, allocations: 7.984 kB / 415.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.649e-05/0.3698, allocations: 15.44 kB / 415.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3698, allocations: 0 / 415.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Templates: time 0.003276/0.3731, allocations: 0.6364 MB / 416.2 MB, free: 10.21 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches