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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 111.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 191.2 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1915/0.1915, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 471.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2727, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002655/0.2754, allocations: 1.838 MB / 0.5214 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2771, allocations: 1.333 MB / 0.5227 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2772, allocations: 1.062 kB / 0.5227 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.2774, allocations: 37.72 kB / 0.5227 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.2775, allocations: 30.77 kB / 0.5227 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.279, allocations: 0.5556 MB / 0.5233 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.2793, allocations: 287.5 kB / 0.5235 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2794, allocations: 47.69 kB / 0.5236 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.2796, allocations: 118.2 kB / 0.5237 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.2798, allocations: 172.3 kB / 0.5239 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.2799, allocations: 26.83 kB / 0.5239 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.2811, allocations: 0.8072 MB / 0.5247 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2812, allocations: 115.3 kB / 0.5248 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2814, allocations: 134 kB / 0.5249 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.2825, allocations: 1.074 MB / 0.526 GB, free: 15.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2826, allocations: 0 / 0.526 GB, free: 15.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2826, allocations: 4 kB / 0.526 GB, free: 15.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.2826, allocations: 3.938 kB / 0.526 GB, free: 15.93 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.00123/0.2838, allocations: 0.7273 MB / 0.5267 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2839, allocations: 8.219 kB / 0.5267 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.486e-05/0.284, allocations: 37.39 kB / 0.5267 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.2843, allocations: 285.3 kB / 0.527 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.2843, allocations: 15.69 kB / 0.527 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/0.2844, allocations: 30.38 kB / 0.527 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004719/0.2848, allocations: 278 kB / 0.5273 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2849, allocations: 0 / 0.5273 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.2849, allocations: 6.562 kB / 0.5273 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.2849, allocations: 3.594 kB / 0.5273 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003907/0.2853, allocations: 220.2 kB / 0.5275 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.2865, allocations: 0.7519 MB / 0.5283 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.2869, allocations: 291 kB / 0.5285 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.2872, allocations: 195.7 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.2872, allocations: 2.5 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.2873, allocations: 41.47 kB / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.433e-06/0.2873, allocations: 0 / 0.5288 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009719/0.2883, allocations: 0.5424 MB / 0.5293 GB, free: 13.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.2883, allocations: 83.42 kB / 0.5294 GB, free: 13.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.2886, allocations: 349 kB / 0.5297 GB, free: 13.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.2887, allocations: 34.75 kB / 0.5297 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.2888, allocations: 144.7 kB / 0.5299 GB, free: 12.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.2889, allocations: 102.7 kB / 0.53 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.289, allocations: 122 kB / 0.5301 GB, free: 12.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2892, allocations: 356.9 kB / 0.5304 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.2896, allocations: 287.4 kB / 0.5307 GB, free: 12.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.29, allocations: 334.5 kB / 0.531 GB, free: 12.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003342/0.2934, allocations: 1.757 MB / 0.5327 GB, free: 11.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2934, allocations: 0 / 0.5327 GB, free: 11.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00107/0.2945, allocations: 0.7677 MB / 0.5335 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2945, allocations: 9.906 kB / 0.5335 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.2945, allocations: 4.656 kB / 0.5335 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2945, allocations: 6.312 kB / 0.5335 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.295, allocations: 92.38 kB / 0.5336 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.295, allocations: 2.844 kB / 0.5336 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.2952, allocations: 77.28 kB / 0.5337 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.2953, allocations: 13 kB / 0.5337 GB, free: 10.83 MB / 398.1 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.2955, allocations: 185.9 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.257e-05/0.2956, allocations: 25.91 kB / 0.5339 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.2957, allocations: 41.81 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2957, allocations: 7.922 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2957, allocations: 5.062 kB / 0.5339 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.2958, allocations: 109.4 kB / 0.5341 GB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.2958, allocations: 18.33 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.296, allocations: 5.781 kB / 0.5341 GB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.2961, allocations: 18.34 kB / 0.5341 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001471/0.2976, allocations: 0.7021 MB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001124/0.2987, allocations: 0.9192 MB / 0.5357 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003288/0.2991, allocations: 201.5 kB / 0.5359 GB, free: 9.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.2993, allocations: 220.1 kB / 0.5361 GB, free: 9.168 MB / 398.1 MB Notification: Performance of Backend: time 6.71e-07/0.2993, allocations: 1.594 kB / 0.5361 GB, free: 9.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001681/0.301, allocations: 0.8072 MB / 0.5369 GB, free: 8.688 MB / 398.1 MB Notification: Performance of SimCode: time 0.00129/0.3023, allocations: 1.226 MB / 0.5381 GB, free: 7.695 MB / 398.1 MB Notification: Performance of Templates: time 0.01351/0.3158, allocations: 7.584 MB / 0.5455 GB, free: 1.184 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches