Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.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.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") [: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.001258/0.001258, allocations: 192.1 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.244/1.244, allocations: 225.5 MB / 234.4 MB, free: 3.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008524/0.0008524, allocations: 97.95 kB / 286.3 MB, free: 5.156 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.877e-06/8.997e-06, allocations: 4 kB / 343.1 MB, free: 8.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08506/0.08509, allocations: 51.46 MB / 394.6 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2456/0.3307, allocations: 90.06 MB / 484.7 MB, free: 3.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.331, allocations: 66.16 kB / 484.7 MB, free: 3.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02624/0.3573, allocations: 9.638 MB / 494.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.276e-05/0.3573, allocations: 15.94 kB / 494.4 MB, free: 11.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007192/0.3581, allocations: 0.5077 MB / 494.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3581, allocations: 8.031 kB / 494.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.497e-05/0.3582, allocations: 31.62 kB / 494.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.3588, allocations: 353.5 kB / 495.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3589, allocations: 5.5 kB / 495.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.3589, allocations: 15.89 kB / 495.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001696/0.3591, allocations: 79.22 kB / 495.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.3594, allocations: 206 kB / 495.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3594, allocations: 0 / 495.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.3594, allocations: 0 / 495.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3595, allocations: 7.984 kB / 495.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.3602, allocations: 464.6 kB / 496 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.3604, allocations: 165.1 kB / 496.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.605e-05/0.3605, allocations: 52.34 kB / 496.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.3606, allocations: 0 / 496.2 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3606, allocations: 34.56 kB / 496.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.3606, allocations: 0 / 496.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000294/0.3609, allocations: 160.4 kB / 496.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.361, allocations: 286.7 kB / 496.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3612, allocations: 234.6 kB / 496.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.3613, allocations: 29.7 kB / 497 MB, free: 8.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.3613, allocations: 122.7 kB / 497.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.3614, allocations: 49.89 kB / 497.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.3614, allocations: 0 / 497.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3615, allocations: 340.1 kB / 497.5 MB, free: 8.355 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.3616, allocations: 90.66 kB / 497.6 MB, free: 8.293 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.3618, allocations: 162.2 kB / 497.7 MB, free: 8.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.3621, allocations: 122.2 kB / 497.8 MB, free: 8.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3621, allocations: 0 / 497.8 MB, free: 8.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004303/0.3625, allocations: 275.9 kB / 498.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3625, allocations: 10.25 kB / 498.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.3626, allocations: 7.984 kB / 498.1 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3626, allocations: 0 / 498.1 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.3629, allocations: 58.97 kB / 498.2 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3629, allocations: 1.75 kB / 498.2 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.363, allocations: 19.75 kB / 498.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.3631, allocations: 12.09 kB / 498.2 MB, free: 7.719 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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 9.499e-05/0.3632, allocations: 108.9 kB / 498.3 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.3632, allocations: 31.62 kB / 498.3 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.672e-05/0.3633, allocations: 29.41 kB / 498.4 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3633, allocations: 4 kB / 498.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3633, allocations: 0 / 498.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3633, allocations: 0 / 498.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.3636, allocations: 240.2 kB / 498.6 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3636, allocations: 0 / 498.6 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.3638, allocations: 27.48 kB / 498.6 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3638, allocations: 0 / 498.6 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3638, allocations: 4 kB / 498.6 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3638, allocations: 5.172 kB / 498.7 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3638, allocations: 4 kB / 498.7 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003417/0.3642, allocations: 315.3 kB / 499 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/0.3643, allocations: 100.7 kB / 499.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.3643, allocations: 0 / 499.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3645, allocations: 11.98 kB / 499.1 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.3645, allocations: 6.422 kB / 499.1 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3645, allocations: 4 kB / 499.1 MB, free: 6.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001421/0.3647, allocations: 185.7 kB / 499.3 MB, free: 6.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003991/0.3651, allocations: 83.91 kB / 499.3 MB, free: 6.633 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0002727/0.3654, allocations: 158.8 kB / 499.5 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.3658, allocations: 260.6 kB / 499.8 MB, free: 6.238 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3658, allocations: 3.938 kB / 499.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.21e-05/0.3659, allocations: 57.55 kB / 499.8 MB, free: 6.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3663, allocations: 65.89 kB / 499.9 MB, free: 6.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008868/0.3671, allocations: 426.5 kB / 0.4886 GB, free: 5.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.3675, allocations: 0.8012 MB / 0.4894 GB, free: 4.914 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3675, allocations: 3.938 kB / 0.4894 GB, free: 4.91 MB / 362.7 MB Notification: Performance of Templates: time 0.007252/0.3748, allocations: 3.471 MB / 0.4927 GB, free: 1.523 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches