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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002137/0.002137, allocations: 191.5 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009335/0.0009333, allocations: 93.45 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.964e-06/8.075e-06, allocations: 4 kB / 343.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09246, allocations: 51.48 MB / 394.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2336/0.3261, allocations: 76.41 MB / 471 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.3264, allocations: 75.67 kB / 471.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003018/0.3294, allocations: 1.017 MB / 472.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.3294, allocations: 0 / 472.1 MB, free: 14.22 MB / 346.7 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.0003019/0.3297, allocations: 355.9 kB / 472.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3298, allocations: 12.03 kB / 472.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.3298, allocations: 7.906 kB / 472.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.33, allocations: 196.8 kB / 472.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.33, allocations: 4 kB / 472.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.3301, allocations: 0 / 472.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.224e-05/0.3302, allocations: 29.55 kB / 472.7 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.3303, allocations: 106.7 kB / 472.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3304, allocations: 0 / 472.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3304, allocations: 0 / 472.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3304, allocations: 4 kB / 472.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.3308, allocations: 350.6 kB / 473.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.563e-05/0.3308, allocations: 62.36 kB / 473.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.3309, allocations: 28.83 kB / 473.3 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.3309, allocations: 5.031 kB / 473.3 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.3309, allocations: 38.41 kB / 473.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3309, allocations: 4 kB / 473.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001792/0.3311, allocations: 67.34 kB / 473.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.3311, allocations: 102.9 kB / 473.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.924e-05/0.3312, allocations: 129.4 kB / 473.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.3313, allocations: 29.7 kB / 473.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.301e-05/0.3313, allocations: 83.95 kB / 473.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.946e-06/0.3313, allocations: 7.844 kB / 473.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.3313, allocations: 0 / 473.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.3313, allocations: 321.7 kB / 474 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.3314, allocations: 5.594 kB / 474 MB, free: 12.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/0.3314, allocations: 34.22 kB / 474.1 MB, free: 12.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/0.3314, allocations: 11.31 kB / 474.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3314, allocations: 0 / 474.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.257e-05/0.3315, allocations: 62.39 kB / 474.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.3315, allocations: 7.938 kB / 474.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3315, allocations: 7.547 kB / 474.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3315, allocations: 4 kB / 474.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.3316, allocations: 8 kB / 474.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3316, allocations: 4 kB / 474.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.3317, allocations: 7.328 kB / 474.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3317, allocations: 4 kB / 474.2 MB, free: 12.07 MB / 346.7 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[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.3318, allocations: 108.9 kB / 474.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.3319, allocations: 52.42 kB / 474.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.3319, allocations: 17.86 kB / 474.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3319, allocations: 2.25 kB / 474.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3319, allocations: 3.938 kB / 474.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.3319, allocations: 1.031 kB / 474.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3321, allocations: 153.3 kB / 474.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3321, allocations: 0 / 474.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.3321, allocations: 19.41 kB / 474.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3322, allocations: 0 / 474.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3322, allocations: 4 kB / 474.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3322, allocations: 0 / 474.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3322, allocations: 7.359 kB / 474.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001038/0.3323, allocations: 264.8 kB / 474.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.3323, allocations: 94.77 kB / 474.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3324, allocations: 3.938 kB / 474.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3325, allocations: 10.34 kB / 474.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.3325, allocations: 3.141 kB / 474.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.3325, allocations: 4 kB / 474.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.191e-05/0.3326, allocations: 109.2 kB / 475 MB, free: 11.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002492/0.3328, allocations: 4 kB / 475 MB, free: 11.2 MB / 346.7 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[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.631e-05/0.3329, allocations: 99.25 kB / 475.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.834e-05/0.333, allocations: 27.3 kB / 475.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.333, allocations: 0 / 475.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.669e-05/0.333, allocations: 7.312 kB / 475.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.3333, allocations: 29.97 kB / 475.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.3336, allocations: 119.8 kB / 475.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.3337, allocations: 0.7119 MB / 476 MB, free: 10.2 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3337, allocations: 0 / 476 MB, free: 10.2 MB / 346.7 MB Notification: Performance of Templates: time 0.002204/0.3359, allocations: 0.6225 MB / 476.6 MB, free: 9.863 MB / 346.7 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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches