Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009185/0.0009186, allocations: 190.7 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.066/1.066, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008526/0.0008527, allocations: 101.9 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1563/0.1563, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.65e-06/5.67e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2261, allocations: 58.83 MB / 476.5 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.3283, allocations: 85.98 MB / 0.5493 GB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000139/0.3285, allocations: 59.97 kB / 0.5494 GB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02955/0.358, allocations: 9.229 MB / 0.5584 GB, free: 3.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.3581, allocations: 7.938 kB / 0.5584 GB, free: 3.664 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.00105/0.3591, allocations: 0.6574 MB / 0.5591 GB, free: 2.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3592, allocations: 8.031 kB / 0.5591 GB, free: 2.953 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.3592, allocations: 31.53 kB / 0.5591 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.3596, allocations: 291.1 kB / 0.5594 GB, free: 2.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.3596, allocations: 4 kB / 0.5594 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/0.3597, allocations: 19.89 kB / 0.5594 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003167/0.36, allocations: 211.9 kB / 0.5596 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.3603, allocations: 255.2 kB / 0.5598 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3604, allocations: 0 / 0.5598 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.3604, allocations: 3.938 kB / 0.5598 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3604, allocations: 4 kB / 0.5599 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.3614, allocations: 0.723 MB / 0.5606 GB, free: 1.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.3617, allocations: 259.2 kB / 0.5608 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.3619, allocations: 181.6 kB / 0.561 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.362, allocations: 4 kB / 0.561 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.362, allocations: 34.56 kB / 0.561 GB, free: 0.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.253e-06/0.362, allocations: 0 / 0.561 GB, free: 0.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005519/0.3625, allocations: 382.1 kB / 0.5614 GB, free: 460 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.3626, allocations: 85.11 kB / 0.5615 GB, free: 356 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.3629, allocations: 295.5 kB / 0.5617 GB, free: 56 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.3629, allocations: 25.7 kB / 0.5618 GB, free: 24 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.363, allocations: 136.8 kB / 0.5619 GB, free: 15.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.363, allocations: 94.56 kB / 0.562 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.3631, allocations: 4 kB / 0.562 GB, free: 15.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3632, allocations: 342.8 kB / 0.5623 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.3635, allocations: 276.7 kB / 0.5626 GB, free: 15.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.3638, allocations: 326.3 kB / 0.5629 GB, free: 14.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.3643, allocations: 317.8 kB / 0.5632 GB, free: 14.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3643, allocations: 0 / 0.5632 GB, free: 14.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009191/0.3652, allocations: 0.7886 MB / 0.564 GB, free: 13.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3653, allocations: 6.812 kB / 0.564 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.3653, allocations: 8 kB / 0.564 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3653, allocations: 0 / 0.564 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.3658, allocations: 107.8 kB / 0.5641 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3658, allocations: 3.938 kB / 0.5641 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.366, allocations: 59.12 kB / 0.5641 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.3661, allocations: 12 kB / 0.5642 GB, free: 13.54 MB / 410.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.0001435/0.3662, allocations: 132.6 kB / 0.5643 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.3663, allocations: 31.53 kB / 0.5643 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.95e-05/0.3664, allocations: 34.72 kB / 0.5643 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3664, allocations: 0 / 0.5643 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3664, allocations: 4 kB / 0.5643 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3664, allocations: 3.984 kB / 0.5644 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.3668, allocations: 301.8 kB / 0.5646 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3668, allocations: 0 / 0.5646 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.3672, allocations: 55.91 kB / 0.5647 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3672, allocations: 4 kB / 0.5647 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.3672, allocations: 19.97 kB / 0.5647 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3672, allocations: 3.906 kB / 0.5647 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3672, allocations: 0 / 0.5647 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007534/0.368, allocations: 0.7305 MB / 0.5654 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.3681, allocations: 108.7 kB / 0.5655 GB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.3681, allocations: 15.98 kB / 0.5656 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.3683, allocations: 4 kB / 0.5656 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.3684, allocations: 19.97 kB / 0.5656 GB, free: 12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.3684, allocations: 4 kB / 0.5656 GB, free: 11.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001627/0.3686, allocations: 211.1 kB / 0.5658 GB, free: 11.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007959/0.3694, allocations: 259.6 kB / 0.566 GB, free: 11.54 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.000492/0.3699, allocations: 290.8 kB / 0.5663 GB, free: 11.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007416/0.3707, allocations: 0.7109 MB / 0.567 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3707, allocations: 0 / 0.567 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.3709, allocations: 183.9 kB / 0.5672 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.3712, allocations: 37 kB / 0.5672 GB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3723, allocations: 0.769 MB / 0.568 GB, free: 9.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/0.3727, allocations: 0.8335 MB / 0.5688 GB, free: 8.637 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3728, allocations: 0 / 0.5688 GB, free: 8.637 MB / 410.7 MB Notification: Performance of Templates: time 0.009913/0.3827, allocations: 6.546 MB / 0.5752 GB, free: 2.094 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches