Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState") [: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.001375/0.001375, allocations: 196.4 kB / 8.535 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000983/0.000983, allocations: 97.64 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1945/0.1945, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.462e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3999/0.515, allocations: 97.05 MB / 0.5985 GB, free: 5.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.5154, allocations: 70.34 kB / 0.5986 GB, free: 5.926 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05952/0.5749, allocations: 19.68 MB / 0.6178 GB, free: 5.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.524e-05/0.575, allocations: 23.94 kB / 0.6178 GB, free: 5.469 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001837/0.5769, allocations: 0.9544 MB / 0.6188 GB, free: 4.516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5769, allocations: 8.031 kB / 0.6188 GB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.5773, allocations: 110.9 kB / 0.6189 GB, free: 4.398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.5784, allocations: 0.5612 MB / 0.6194 GB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.5784, allocations: 16 kB / 0.6194 GB, free: 3.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.5786, allocations: 47.39 kB / 0.6195 GB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006358/0.5792, allocations: 331 kB / 0.6198 GB, free: 3.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007378/0.58, allocations: 498.3 kB / 0.6203 GB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.58, allocations: 3.938 kB / 0.6203 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.58, allocations: 4 kB / 0.6203 GB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.5801, allocations: 15.94 kB / 0.6203 GB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/0.5838, allocations: 2.575 MB / 0.6228 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/0.5846, allocations: 436.8 kB / 0.6232 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.5849, allocations: 193.9 kB / 0.6234 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.5849, allocations: 8 kB / 0.6234 GB, free: 380 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.585, allocations: 42.53 kB / 0.6235 GB, free: 332 kB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 2.766e-06/0.585, allocations: 0 / 0.6235 GB, free: 332 kB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001446/0.5864, allocations: 0.7799 MB / 0.6242 GB, free: 15.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.5865, allocations: 132.5 kB / 0.6244 GB, free: 15.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000592/0.5871, allocations: 0.4907 MB / 0.6248 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.5872, allocations: 25.7 kB / 0.6249 GB, free: 15.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.5873, allocations: 247.3 kB / 0.6251 GB, free: 14.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.5875, allocations: 167.6 kB / 0.6253 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.5875, allocations: 0 / 0.6253 GB, free: 14.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5877, allocations: 389.6 kB / 0.6256 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.588, allocations: 187.8 kB / 0.6258 GB, free: 14.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.5884, allocations: 344.8 kB / 0.6261 GB, free: 13.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.5888, allocations: 234.3 kB / 0.6264 GB, free: 13.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5888, allocations: 0 / 0.6264 GB, free: 13.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001094/0.5899, allocations: 0.649 MB / 0.627 GB, free: 13.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007734/0.5907, allocations: 1.737 MB / 0.6287 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5907, allocations: 4 kB / 0.6287 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.591, allocations: 66.56 kB / 0.6288 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.592, allocations: 211.5 kB / 0.629 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.5933, allocations: 1.441 MB / 0.6304 GB, free: 9.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/0.594, allocations: 86.98 kB / 0.6305 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.594, allocations: 23.06 kB / 0.6305 GB, free: 9.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.5941, allocations: 7.938 kB / 0.6305 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009641/0.595, allocations: 0.5428 MB / 0.631 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.595, allocations: 4 kB / 0.631 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/0.5952, allocations: 59.81 kB / 0.6311 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/0.5961, allocations: 199.5 kB / 0.6313 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.5973, allocations: 1.432 MB / 0.6327 GB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/0.5979, allocations: 79.73 kB / 0.6327 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.598, allocations: 27.12 kB / 0.6328 GB, free: 7.293 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.5982, allocations: 124.2 kB / 0.6329 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5983, allocations: 71.16 kB / 0.633 GB, free: 7.098 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.5985, allocations: 73.55 kB / 0.633 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5985, allocations: 4 kB / 0.633 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.5986, allocations: 8 kB / 0.633 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.5986, allocations: 7.891 kB / 0.633 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.5997, allocations: 0.7553 MB / 0.6338 GB, free: 6.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5997, allocations: 3.984 kB / 0.6338 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007246/0.6004, allocations: 115.8 kB / 0.6339 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.6004, allocations: 4 kB / 0.6339 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.6005, allocations: 11.8 kB / 0.6339 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.6005, allocations: 8 kB / 0.6339 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6005, allocations: 0 / 0.6339 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001089/0.6016, allocations: 0.9613 MB / 0.6349 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.6018, allocations: 190.4 kB / 0.635 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.381e-05/0.6019, allocations: 15.86 kB / 0.635 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/0.6026, allocations: 55.95 kB / 0.6351 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.6027, allocations: 39.78 kB / 0.6351 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.6028, allocations: 11.94 kB / 0.6352 GB, free: 5.188 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004077/0.6032, allocations: 379.6 kB / 0.6355 GB, free: 4.906 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007767/0.604, allocations: 179.9 kB / 0.6357 GB, free: 4.734 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.0001826/0.6041, allocations: 111.2 kB / 0.6358 GB, free: 4.617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.6057, allocations: 0.999 MB / 0.6368 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.6057, allocations: 0 / 0.6368 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003283/0.6061, allocations: 220.8 kB / 0.637 GB, free: 3.672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.6069, allocations: 166.1 kB / 0.6371 GB, free: 3.551 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.6094, allocations: 1.179 MB / 0.6383 GB, free: 2.441 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007596/0.6101, allocations: 1.023 MB / 0.6393 GB, free: 1.398 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6101, allocations: 0 / 0.6393 GB, free: 1.398 MB / 426.7 MB Notification: Performance of Templates: time 0.02065/0.6308, allocations: 10.77 MB / 0.6498 GB, free: 6.699 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Continuous_SteadyState/Continuous_SteadyState.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_SteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches