Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.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.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") [: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.001515/0.001515, allocations: 200.3 kB / 8.541 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.398/1.398, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 96.78 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2327/0.2327, allocations: 45.14 MB / 383.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.098e-05, allocations: 3.938 kB / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 63.23 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3117/0.4425, allocations: 88.09 MB / 0.5898 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.4428, allocations: 63.47 kB / 0.5899 GB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03233/0.4751, allocations: 9.419 MB / 0.5991 GB, free: 6.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.4752, allocations: 8 kB / 0.5991 GB, free: 6.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001227/0.4764, allocations: 0.6507 MB / 0.5997 GB, free: 6.074 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4765, allocations: 8.031 kB / 0.5997 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.4767, allocations: 47.53 kB / 0.5998 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.4771, allocations: 292.8 kB / 0.6 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4771, allocations: 4 kB / 0.6 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/0.4772, allocations: 27.72 kB / 0.6001 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003497/0.4776, allocations: 204.1 kB / 0.6003 GB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.4779, allocations: 251.5 kB / 0.6005 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.478, allocations: 3.938 kB / 0.6005 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.478, allocations: 0 / 0.6005 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.478, allocations: 8 kB / 0.6005 GB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.4792, allocations: 0.7239 MB / 0.6012 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.4796, allocations: 261 kB / 0.6015 GB, free: 4.457 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.4798, allocations: 177.4 kB / 0.6016 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.4799, allocations: 8 kB / 0.6016 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.4799, allocations: 34.5 kB / 0.6017 GB, free: 4.285 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.054e-06/0.4799, allocations: 448 / 0.6017 GB, free: 4.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006569/0.4806, allocations: 373 kB / 0.602 GB, free: 3.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.4806, allocations: 88.23 kB / 0.6021 GB, free: 3.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.4809, allocations: 307.1 kB / 0.6024 GB, free: 3.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.481, allocations: 25.7 kB / 0.6024 GB, free: 3.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4811, allocations: 130.2 kB / 0.6026 GB, free: 3.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.78e-05/0.4812, allocations: 94.25 kB / 0.6026 GB, free: 3.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.4812, allocations: 0 / 0.6026 GB, free: 3.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4813, allocations: 351 kB / 0.603 GB, free: 3.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.4817, allocations: 271.1 kB / 0.6032 GB, free: 2.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.4821, allocations: 327.5 kB / 0.6035 GB, free: 2.676 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004741/0.4825, allocations: 322 kB / 0.6039 GB, free: 2.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4826, allocations: 0 / 0.6039 GB, free: 2.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001056/0.4836, allocations: 0.7872 MB / 0.6046 GB, free: 1.859 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4836, allocations: 4 kB / 0.6046 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.4837, allocations: 7.984 kB / 0.6046 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4837, allocations: 4 kB / 0.6046 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.4843, allocations: 91.7 kB / 0.6047 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.4843, allocations: 4 kB / 0.6047 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.4845, allocations: 71.05 kB / 0.6048 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.4846, allocations: 11.19 kB / 0.6048 GB, free: 1.676 MB / 394.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001647/0.4847, allocations: 124.5 kB / 0.6049 GB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/0.4848, allocations: 31.53 kB / 0.605 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.05e-05/0.4849, allocations: 36.02 kB / 0.605 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.4849, allocations: 4 kB / 0.605 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4849, allocations: 7.938 kB / 0.605 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4849, allocations: 0 / 0.605 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.4853, allocations: 306.1 kB / 0.6053 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4854, allocations: 0 / 0.6053 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.4857, allocations: 39.98 kB / 0.6053 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.4858, allocations: 4 kB / 0.6053 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.4858, allocations: 19.17 kB / 0.6054 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4858, allocations: 3.906 kB / 0.6054 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4858, allocations: 0 / 0.6054 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008277/0.4867, allocations: 0.7444 MB / 0.6061 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.4867, allocations: 108.7 kB / 0.6062 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.4868, allocations: 4 kB / 0.6062 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.487, allocations: 11.98 kB / 0.6062 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.4871, allocations: 19.3 kB / 0.6062 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.4871, allocations: 11.98 kB / 0.6062 GB, free: 360 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001753/0.4873, allocations: 202.8 kB / 0.6064 GB, free: 196 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009825/0.4883, allocations: 271 kB / 0.6067 GB, free: 15.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.0005303/0.4889, allocations: 282.7 kB / 0.607 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007676/0.4896, allocations: 0.7173 MB / 0.6077 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4896, allocations: 4 kB / 0.6077 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.4899, allocations: 189.9 kB / 0.6078 GB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.4902, allocations: 30.33 kB / 0.6079 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.4914, allocations: 0.7595 MB / 0.6086 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.4918, allocations: 0.8393 MB / 0.6094 GB, free: 13.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4918, allocations: 0 / 0.6094 GB, free: 13.39 MB / 410.7 MB Notification: Performance of Templates: time 0.01084/0.5027, allocations: 6.546 MB / 0.6158 GB, free: 6.871 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches