Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 192.7 kB / 8.53 MB, free: 2.625 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 221.4 MB / 230.3 MB, free: 7.719 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009775/0.0009775, allocations: 96.34 kB / 281.2 MB, free: 5.148 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2726/0.2726, allocations: 44.13 MB / 376.1 MB, free: 44.99 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.953e-06, allocations: 0 / 444 MB, free: 15.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 61.92 MB / 0.4941 GB, free: 1.23 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.3912, allocations: 87.03 MB / 0.5791 GB, free: 12.7 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.3916, allocations: 60.89 kB / 0.5791 GB, free: 12.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.02861/0.4202, allocations: 9.306 MB / 0.5882 GB, free: 4.027 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.4202, allocations: 12 kB / 0.5882 GB, free: 4.016 MB / 398.1 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.001042/0.4213, allocations: 0.6524 MB / 0.5889 GB, free: 3.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4213, allocations: 13.47 kB / 0.5889 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.4214, allocations: 38.06 kB / 0.5889 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.4218, allocations: 287.1 kB / 0.5892 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.4219, allocations: 4 kB / 0.5892 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.4219, allocations: 31.88 kB / 0.5892 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003004/0.4222, allocations: 199.9 kB / 0.5894 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003502/0.4226, allocations: 257.3 kB / 0.5897 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4226, allocations: 4 kB / 0.5897 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.4226, allocations: 0 / 0.5897 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.4227, allocations: 4 kB / 0.5897 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.4237, allocations: 0.7192 MB / 0.5904 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.424, allocations: 255.2 kB / 0.5906 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.4242, allocations: 185.6 kB / 0.5908 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.4242, allocations: 0 / 0.5908 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.4242, allocations: 38.56 kB / 0.5908 GB, free: 1.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.042e-06/0.4243, allocations: 0 / 0.5908 GB, free: 1.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005548/0.4248, allocations: 374.2 kB / 0.5912 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.4248, allocations: 85.09 kB / 0.5913 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.4251, allocations: 303.4 kB / 0.5916 GB, free: 424 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.4251, allocations: 29.7 kB / 0.5916 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.4252, allocations: 124.8 kB / 0.5917 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.087e-05/0.4252, allocations: 98.55 kB / 0.5918 GB, free: 160 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.4253, allocations: 0 / 0.5918 GB, free: 160 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4254, allocations: 350.8 kB / 0.5921 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.4258, allocations: 272.7 kB / 0.5924 GB, free: 15.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.4262, allocations: 322.2 kB / 0.5927 GB, free: 15.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.4267, allocations: 329.6 kB / 0.593 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4267, allocations: 0 / 0.593 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001086/0.4278, allocations: 0.7901 MB / 0.5938 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.4278, allocations: 7.438 kB / 0.5938 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/0.4278, allocations: 7.984 kB / 0.5938 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.4279, allocations: 4 kB / 0.5938 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.4284, allocations: 99.31 kB / 0.5939 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4285, allocations: 4 kB / 0.5939 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.4287, allocations: 63.12 kB / 0.594 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.4288, allocations: 8 kB / 0.594 GB, free: 13.91 MB / 414.1 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.0001771/0.4289, allocations: 118.6 kB / 0.5941 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.429, allocations: 31.52 kB / 0.5941 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.365e-05/0.4291, allocations: 42.72 kB / 0.5942 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4291, allocations: 4 kB / 0.5942 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4292, allocations: 0 / 0.5942 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4292, allocations: 0 / 0.5942 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003846/0.4296, allocations: 309.8 kB / 0.5945 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4296, allocations: 0 / 0.5945 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.43, allocations: 51.84 kB / 0.5945 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.43, allocations: 7.984 kB / 0.5945 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.43, allocations: 11.98 kB / 0.5945 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.43, allocations: 8 kB / 0.5945 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.43, allocations: 3.906 kB / 0.5945 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008666/0.4309, allocations: 0.7281 MB / 0.5952 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.431, allocations: 108.7 kB / 0.5954 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.4311, allocations: 11.98 kB / 0.5954 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.4313, allocations: 12 kB / 0.5954 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.4314, allocations: 15.91 kB / 0.5954 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.4315, allocations: 8.812 kB / 0.5954 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 0.000175/0.4316, allocations: 203.1 kB / 0.5956 GB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009357/0.4326, allocations: 267.7 kB / 0.5958 GB, free: 11.91 MB / 414.1 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.0005679/0.4332, allocations: 282.8 kB / 0.5961 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008154/0.434, allocations: 0.7135 MB / 0.5968 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.434, allocations: 4 kB / 0.5968 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.4342, allocations: 179.9 kB / 0.597 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.4346, allocations: 25.08 kB / 0.597 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.4358, allocations: 0.772 MB / 0.5978 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/0.4363, allocations: 0.8297 MB / 0.5986 GB, free: 9.031 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4363, allocations: 0 / 0.5986 GB, free: 9.031 MB / 414.1 MB Notification: Performance of Templates: time 0.01141/0.4477, allocations: 6.554 MB / 0.605 GB, free: 2.523 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches