Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [: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.001193/0.001193, allocations: 192.5 kB / 8.536 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009045/0.0009044, allocations: 91.3 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.007e-05/1.018e-05, allocations: 4 kB / 343.1 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09797, allocations: 51.48 MB / 394.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2893/0.3873, allocations: 76.5 MB / 471.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.3876, allocations: 80.67 kB / 471.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.002582/0.3902, allocations: 0.8386 MB / 472 MB, free: 14.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.3902, allocations: 3.391 kB / 472 MB, free: 14.32 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.0003052/0.3905, allocations: 346.2 kB / 472.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3905, allocations: 12.03 kB / 472.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.3906, allocations: 3.906 kB / 472.4 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3908, allocations: 192.4 kB / 472.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3908, allocations: 0 / 472.6 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.3908, allocations: 4 kB / 472.6 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.492e-05/0.3909, allocations: 14.52 kB / 472.6 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3911, allocations: 109.5 kB / 472.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3911, allocations: 0 / 472.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.3911, allocations: 0 / 472.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3911, allocations: 3.984 kB / 472.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.3914, allocations: 250.9 kB / 473 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.3916, allocations: 129.2 kB / 473.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.3916, allocations: 24.66 kB / 473.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3916, allocations: 0 / 473.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.3917, allocations: 41.8 kB / 473.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3917, allocations: 0 / 473.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001479/0.3918, allocations: 48.73 kB / 473.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3919, allocations: 80.44 kB / 473.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.65e-05/0.3919, allocations: 119.6 kB / 473.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.392, allocations: 25.7 kB / 473.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.121e-05/0.392, allocations: 80.14 kB / 473.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.392, allocations: 18.09 kB / 473.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.392, allocations: 0 / 473.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.3921, allocations: 310.8 kB / 473.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.3921, allocations: 7.812 kB / 473.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.3921, allocations: 23.44 kB / 473.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.611e-05/0.3921, allocations: 13.73 kB / 473.9 MB, free: 12.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3921, allocations: 4 kB / 473.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.168e-05/0.3922, allocations: 45.45 kB / 473.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3922, allocations: 11.33 kB / 473.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3922, allocations: 4 kB / 473.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3922, allocations: 3.938 kB / 473.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.3923, allocations: 11.94 kB / 473.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3923, allocations: 8.125 kB / 474 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.3924, allocations: 3.375 kB / 474 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.3924, allocations: 4 kB / 474 MB, free: 12.29 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: 0 () * 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.228e-05/0.3924, allocations: 101 kB / 474.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.3925, allocations: 45.48 kB / 474.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.3925, allocations: 11.55 kB / 474.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3925, allocations: 0 / 474.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3925, allocations: 3.906 kB / 474.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3926, allocations: 4 kB / 474.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.3927, allocations: 143.7 kB / 474.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3927, allocations: 7.938 kB / 474.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.3927, allocations: 14.41 kB / 474.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3927, allocations: 0 / 474.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3927, allocations: 0 / 474.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3927, allocations: 0 / 474.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3928, allocations: 0 / 474.3 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.8e-05/0.3928, allocations: 171.8 kB / 474.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.3929, allocations: 96.33 kB / 474.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3929, allocations: 0 / 474.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.425e-05/0.393, allocations: 7.422 kB / 474.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.393, allocations: 240 / 474.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.393, allocations: 3.062 kB / 474.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.012e-05/0.3931, allocations: 107.4 kB / 474.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.3933, allocations: 4 kB / 474.7 MB, free: 11.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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.973e-05/0.3934, allocations: 95.19 kB / 474.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.992e-05/0.3935, allocations: 18.41 kB / 474.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.3935, allocations: 0 / 474.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.3935, allocations: 10 kB / 474.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3937, allocations: 23.48 kB / 474.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.394, allocations: 92.3 kB / 474.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.3941, allocations: 0.7053 MB / 475.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3941, allocations: 0 / 475.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of Templates: time 0.002254/0.3964, allocations: 437.3 kB / 476 MB, free: 10.36 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches