Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y.1.|assignClock1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized") [: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.001047/0.001047, allocations: 208.9 kB / 8.543 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000887/0.0008871, allocations: 96.64 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/8.065e-06, allocations: 4 kB / 343.1 MB, free: 8.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.08966, allocations: 51.48 MB / 394.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.3172, allocations: 76.71 MB / 471.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.3174, allocations: 77.88 kB / 471.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003768/0.3212, allocations: 1.325 MB / 472.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.3212, allocations: 0 / 472.7 MB, free: 13.87 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000299/0.3215, allocations: 365.4 kB / 473.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3216, allocations: 12.03 kB / 473.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.3216, allocations: 12.69 kB / 473.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.3218, allocations: 201.4 kB / 473.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3218, allocations: 3.938 kB / 473.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.3219, allocations: 8 kB / 473.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/0.322, allocations: 39.84 kB / 473.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.3222, allocations: 181.1 kB / 473.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3222, allocations: 0 / 473.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3223, allocations: 3.906 kB / 473.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3223, allocations: 0.9375 kB / 473.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.3224, allocations: 168.4 kB / 473.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3226, allocations: 114.5 kB / 473.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.173e-05/0.3226, allocations: 70.02 kB / 473.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.3227, allocations: 0 / 473.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.3227, allocations: 38.56 kB / 473.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.3227, allocations: 0 / 473.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002052/0.3229, allocations: 101 kB / 474 MB, free: 12.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.3229, allocations: 66.06 kB / 474.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.323, allocations: 134.3 kB / 474.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3231, allocations: 25.7 kB / 474.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.3231, allocations: 88.41 kB / 474.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.3231, allocations: 7.125 kB / 474.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.3231, allocations: 0 / 474.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.421e-05/0.3232, allocations: 325.6 kB / 474.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.3232, allocations: 19.31 kB / 474.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.344e-05/0.3233, allocations: 117.3 kB / 474.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/0.3233, allocations: 34.38 kB / 474.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3234, allocations: 4 kB / 474.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001595/0.3235, allocations: 128.3 kB / 475 MB, free: 11.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3235, allocations: 4 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3235, allocations: 4 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3236, allocations: 4 kB / 475 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.3237, allocations: 35.27 kB / 475 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3237, allocations: 8.688 kB / 475 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.3238, allocations: 11.84 kB / 475 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3238, allocations: 11.88 kB / 475 MB, free: 11.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 5.488e-05/0.3238, allocations: 113.1 kB / 475.1 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.324, allocations: 108.7 kB / 475.2 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.324, allocations: 19.02 kB / 475.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.324, allocations: 4 kB / 475.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.324, allocations: 0 / 475.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.324, allocations: 5.969 kB / 475.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.453e-05/0.3241, allocations: 161.4 kB / 475.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3241, allocations: 0 / 475.4 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.3242, allocations: 27.33 kB / 475.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3242, allocations: 0 / 475.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.3242, allocations: 7.438 kB / 475.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3242, allocations: 1.5 kB / 475.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3242, allocations: 3.938 kB / 475.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000125/0.3244, allocations: 129.6 kB / 475.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.3244, allocations: 103.4 kB / 475.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.3245, allocations: 3.906 kB / 475.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.613e-05/0.3245, allocations: 0 / 475.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-06/0.3245, allocations: 3.984 kB / 475.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3245, allocations: 11.06 kB / 475.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.373e-05/0.3246, allocations: 112.9 kB / 475.8 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002203/0.3248, allocations: 15.94 kB / 475.8 MB, free: 10.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 7.886e-05/0.3249, allocations: 95.25 kB / 475.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001275/0.325, allocations: 77.89 kB / 476 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.325, allocations: 0 / 476 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.325, allocations: 0 / 476 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.3253, allocations: 75.83 kB / 476.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.3256, allocations: 157.1 kB / 476.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.3258, allocations: 0.7336 MB / 477 MB, free: 9.754 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3258, allocations: 0 / 477 MB, free: 9.754 MB / 346.7 MB Notification: Performance of Templates: time 0.002683/0.3285, allocations: 0.8612 MB / 477.8 MB, free: 9.258 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockVectorized/AssignClockVectorized.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches