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.001484/0.001484, allocations: 113.8 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001799/0.001799, allocations: 209.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2608, allocations: 50.55 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002628/0.2635, allocations: 1.538 MB / 411.5 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004229/0.2639, allocations: 139.5 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.264, allocations: 4 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.996e-05/0.2641, allocations: 11.86 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.619e-05/0.2643, allocations: 11.94 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.2645, allocations: 39.89 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.2646, allocations: 43.8 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2647, allocations: 15.98 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.2648, allocations: 11.94 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.784e-05/0.2648, allocations: 19.92 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.2649, allocations: 4 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.2649, allocations: 4 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.2649, allocations: 19.91 kB / 411.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.265, allocations: 23.75 kB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2651, allocations: 55.81 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2651, allocations: 0 / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2651, allocations: 0 / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2651, allocations: 0 / 411.9 MB, free: 15.68 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.0004999/0.2656, allocations: 392.2 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2657, allocations: 8.031 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.2657, allocations: 12.78 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.266, allocations: 194.4 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.266, allocations: 4.359 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.266, allocations: 4.375 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.2663, allocations: 126.4 kB / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2663, allocations: 4.188 kB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2663, allocations: 3.938 kB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.2664, allocations: 0 / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.2665, allocations: 39.91 kB / 412.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.2669, allocations: 369.9 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.2671, allocations: 83.7 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.2672, allocations: 42.62 kB / 413.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.2672, allocations: 4 kB / 413.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.2672, allocations: 38.5 kB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.2672, allocations: 0 / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003376/0.2676, allocations: 109.7 kB / 413.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.044e-05/0.2677, allocations: 102.8 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.2678, allocations: 148.6 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2678, allocations: 25.7 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.2679, allocations: 96.02 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.2679, allocations: 3.906 kB / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.268, allocations: 21.89 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2681, allocations: 322.8 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.2681, allocations: 11.98 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.2682, allocations: 43.41 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.2684, allocations: 63.34 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2684, allocations: 7.938 kB / 414.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000164/0.2685, allocations: 73.52 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2686, allocations: 8.125 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2686, allocations: 4 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2686, allocations: 0 / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.2687, allocations: 11.98 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.2687, allocations: 7.938 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.545e-05/0.2688, allocations: 15.92 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2688, allocations: 0 / 414.2 MB, free: 13.03 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.0001081/0.2689, allocations: 121.8 kB / 414.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.269, allocations: 53.59 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.269, allocations: 15.83 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.269, allocations: 3.984 kB / 414.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2691, allocations: 8 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2691, allocations: 0 / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2693, allocations: 173.6 kB / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2693, allocations: 96 / 414.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.2694, allocations: 11.98 kB / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2694, allocations: 3.984 kB / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.2694, allocations: 0 / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2694, allocations: 11.91 kB / 414.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2694, allocations: 4 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.2697, allocations: 263.5 kB / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/0.2697, allocations: 93 kB / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.2697, allocations: 7.984 kB / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.2699, allocations: 8 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.2699, allocations: 3.984 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2699, allocations: 0 / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.134e-05/0.27, allocations: 115.2 kB / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.27, allocations: 0 / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.2703, allocations: 8 kB / 415.1 MB, free: 12.03 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.0001125/0.2704, allocations: 107.2 kB / 415.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.2706, allocations: 47.91 kB / 415.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2706, allocations: 0 / 415.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.13e-05/0.2707, allocations: 19.98 kB / 415.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.2711, allocations: 27.52 kB / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.2714, allocations: 209.4 kB / 415.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.2718, allocations: 0.6924 MB / 416.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.2718, allocations: 11.44 kB / 416.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2718, allocations: 0 / 416.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of Templates: time 0.002909/0.2747, allocations: 0.842 MB / 417 MB, free: 10.01 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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