Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [: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.001493/0.001493, allocations: 204.4 kB / 8.543 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 225.5 MB / 234.4 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008926/0.0008926, allocations: 91.89 kB / 286.3 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.183e-06/7.223e-06, allocations: 0 / 343.1 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 51.49 MB / 394.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2909/0.3952, allocations: 78.33 MB / 473 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.3954, allocations: 77.28 kB / 473 MB, free: 13.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01459/0.41, allocations: 5.319 MB / 478.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.4101, allocations: 4 kB / 478.4 MB, free: 10.49 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005539/0.4107, allocations: 458.9 kB / 478.8 MB, free: 10.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.4107, allocations: 8.031 kB / 478.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.4109, allocations: 39.61 kB / 478.8 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.4112, allocations: 238.2 kB / 479.1 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.4112, allocations: 8 kB / 479.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.4113, allocations: 19.84 kB / 479.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002938/0.4116, allocations: 179.7 kB / 479.3 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007572/0.4123, allocations: 0.5691 MB / 479.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4123, allocations: 0 / 479.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.4124, allocations: 1.188 kB / 479.9 MB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.4124, allocations: 19.25 kB / 479.9 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.4128, allocations: 322.7 kB / 480.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4131, allocations: 217.5 kB / 480.4 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.4133, allocations: 141.1 kB / 480.5 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.4134, allocations: 4 kB / 480.5 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.4134, allocations: 47.5 kB / 480.6 MB, free: 8.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 2.014e-06/0.4134, allocations: 4 kB / 480.6 MB, free: 8.402 MB / 346.7 MB Notification: Performance of matching and sorting (n=39): time 0.0005053/0.4139, allocations: 273.1 kB / 480.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.414, allocations: 130.3 kB / 481 MB, free: 8.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4141, allocations: 139 kB / 481.1 MB, free: 7.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4142, allocations: 25.7 kB / 481.1 MB, free: 7.879 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.4142, allocations: 92.47 kB / 481.2 MB, free: 7.789 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.4142, allocations: 42.19 kB / 481.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.4143, allocations: 11.12 kB / 481.3 MB, free: 7.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.4143, allocations: 336.6 kB / 481.6 MB, free: 7.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.4144, allocations: 59.98 kB / 481.7 MB, free: 7.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.4147, allocations: 304.5 kB / 482 MB, free: 6.988 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4148, allocations: 126.9 kB / 482.1 MB, free: 6.891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4148, allocations: 0 / 482.1 MB, free: 6.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004107/0.4152, allocations: 328 kB / 482.4 MB, free: 6.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4153, allocations: 4 kB / 482.4 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4153, allocations: 8.625 kB / 482.4 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.4153, allocations: 16.03 kB / 482.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.4156, allocations: 87.02 kB / 482.5 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4156, allocations: 15.94 kB / 482.5 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.4158, allocations: 23.75 kB / 482.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.4158, allocations: 31.17 kB / 482.6 MB, free: 6.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001005/0.4159, allocations: 132 kB / 482.7 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.4163, allocations: 267.5 kB / 483 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.581e-05/0.4164, allocations: 29.91 kB / 483 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4164, allocations: 8 kB / 483 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.4164, allocations: 3.984 kB / 483 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.4164, allocations: 0.8125 kB / 483 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.4166, allocations: 201.3 kB / 483.2 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4166, allocations: 3.984 kB / 483.2 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.4169, allocations: 63.53 kB / 483.3 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4169, allocations: 4 kB / 483.3 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.4169, allocations: 9.062 kB / 483.3 MB, free: 5.773 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4169, allocations: 3.984 kB / 483.3 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.4169, allocations: 7.844 kB / 483.3 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003986/0.4173, allocations: 416 kB / 483.7 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.4175, allocations: 136.4 kB / 483.9 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.4175, allocations: 11.81 kB / 483.9 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4177, allocations: 7.984 kB / 483.9 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.4177, allocations: 4 kB / 483.9 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.4177, allocations: 19.55 kB / 483.9 MB, free: 5.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.156e-05/0.4178, allocations: 129.5 kB / 484 MB, free: 5.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000362/0.4182, allocations: 36 kB / 484.1 MB, free: 5.062 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: 7 (superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b_super,FIR2.first,FIR1.first,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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 0.0001281/0.4183, allocations: 107.2 kB / 484.2 MB, free: 4.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003086/0.4186, allocations: 254.9 kB / 484.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4186, allocations: 0 / 484.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.4187, allocations: 7.938 kB / 484.4 MB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.4192, allocations: 184.2 kB / 484.6 MB, free: 4.613 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000871/0.42, allocations: 377.5 kB / 485 MB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.4203, allocations: 0.8135 MB / 485.8 MB, free: 3.422 MB / 346.7 MB Notification: Performance of SimCode: time 3.6e-07/0.4204, allocations: 0 / 485.8 MB, free: 3.422 MB / 346.7 MB Notification: Performance of Templates: time 0.004715/0.4251, allocations: 2.356 MB / 488.1 MB, free: 1.113 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches