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.001515/0.001515, allocations: 117.2 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.001585/0.001585, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.636/1.636, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.347, allocations: 50.54 MB / 409.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003252/0.3503, allocations: 1.545 MB / 410.8 MB, free: 184 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004447/0.3508, allocations: 143.5 kB / 410.9 MB, free: 40 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.3509, allocations: 4 kB / 410.9 MB, free: 36 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.351, allocations: 7.938 kB / 410.9 MB, free: 28 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.3511, allocations: 7.875 kB / 410.9 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.3514, allocations: 43.62 kB / 411 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.3515, allocations: 35.92 kB / 411 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3517, allocations: 23.81 kB / 411 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.9e-05/0.3517, allocations: 19.92 kB / 411.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.843e-05/0.3518, allocations: 11.94 kB / 411.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.3518, allocations: 4 kB / 411.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.461e-05/0.3518, allocations: 0 / 411.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.248e-05/0.3519, allocations: 19.92 kB / 411.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.352, allocations: 31.73 kB / 411.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.3521, allocations: 63.69 kB / 411.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3522, allocations: 0 / 411.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3522, allocations: 0 / 411.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3522, allocations: 0 / 411.2 MB, free: 15.77 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.0006879/0.3529, allocations: 384.4 kB / 411.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3529, allocations: 12.03 kB / 411.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.353, allocations: 8.844 kB / 411.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.3533, allocations: 202.5 kB / 411.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3534, allocations: 384 / 411.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.3534, allocations: 4.375 kB / 411.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.3537, allocations: 118.5 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3537, allocations: 4.125 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3538, allocations: 7.938 kB / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.89e-05/0.3538, allocations: 4 kB / 411.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3539, allocations: 35.95 kB / 411.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.3545, allocations: 373.8 kB / 412.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.3546, allocations: 87.72 kB / 412.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.558e-05/0.3547, allocations: 34.62 kB / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.3548, allocations: 7.984 kB / 412.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3548, allocations: 42.56 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.3548, allocations: 0 / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003666/0.3552, allocations: 109.4 kB / 412.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/0.3553, allocations: 107.2 kB / 412.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3554, allocations: 145.8 kB / 412.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.3555, allocations: 25.7 kB / 412.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.3555, allocations: 92.06 kB / 413 MB, free: 13.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.3556, allocations: 7.906 kB / 413 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.3556, allocations: 17.72 kB / 413 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3557, allocations: 322.8 kB / 413.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.3558, allocations: 11.98 kB / 413.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.3559, allocations: 43.42 kB / 413.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.356, allocations: 59.34 kB / 413.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.356, allocations: 7.938 kB / 413.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001756/0.3562, allocations: 89.44 kB / 413.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3562, allocations: 4 kB / 413.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3562, allocations: 4 kB / 413.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3563, allocations: 0 / 413.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.885e-05/0.3564, allocations: 8 kB / 413.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3564, allocations: 3.938 kB / 413.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.3564, allocations: 16.05 kB / 413.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3565, allocations: 4 kB / 413.5 MB, free: 13.11 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.0001271/0.3566, allocations: 125.8 kB / 413.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.281e-05/0.3567, allocations: 53.55 kB / 413.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.3567, allocations: 11.81 kB / 413.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.3568, allocations: 4 kB / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3568, allocations: 0 / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3568, allocations: 4 kB / 413.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.357, allocations: 181.6 kB / 413.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3571, allocations: 0 / 413.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.3571, allocations: 11.98 kB / 413.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3571, allocations: 0 / 413.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.3571, allocations: 0 / 413.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3571, allocations: 0 / 413.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3571, allocations: 4 kB / 413.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.3574, allocations: 267.4 kB / 414.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.431e-05/0.3575, allocations: 93 kB / 414.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3575, allocations: 0 / 414.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3577, allocations: 7.984 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.3577, allocations: 4 kB / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3577, allocations: 0 / 414.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.262e-05/0.3578, allocations: 121.5 kB / 414.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3578, allocations: 3.938 kB / 414.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.3581, allocations: 7.984 kB / 414.4 MB, free: 12.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.0001197/0.3582, allocations: 99.25 kB / 414.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3584, allocations: 51.89 kB / 414.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3584, allocations: 256 / 414.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.871e-05/0.3585, allocations: 19.98 kB / 414.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.359, allocations: 35.45 kB / 414.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.3594, allocations: 171.3 kB / 414.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3597, allocations: 0.6924 MB / 415.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.281e-05/0.3597, allocations: 12.2 kB / 415.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.3597, allocations: 11.44 kB / 415.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3598, allocations: 0 / 415.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Templates: time 0.003457/0.3632, allocations: 0.6255 MB / 416.1 MB, free: 10.36 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