Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000996/0.000996, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9915/0.9915, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2934/0.2934, allocations: 34.26 MB / 295.7 MB, free: 0.7578 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.946e-05, allocations: 2.312 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002412/0.002431, allocations: 1.86 MB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.003959, allocations: 1.337 MB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.004046, allocations: 0 / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.004201, allocations: 35.66 kB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.529e-05/0.004256, allocations: 31.72 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.005613, allocations: 0.6815 MB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.005848, allocations: 243.2 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.005958, allocations: 32.56 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.006143, allocations: 135.6 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.006296, allocations: 151.7 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.006332, allocations: 24 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.007564, allocations: 1.228 MB / 383.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.007685, allocations: 119.6 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.00776, allocations: 91.73 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009617/0.008721, allocations: 1.126 MB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.008724, allocations: 0 / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.008724, allocations: 0 / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.008729, allocations: 0 / 385.1 MB, free: 11.56 MB / 362.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.0007952/0.009524, allocations: 0.7637 MB / 385.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.009558, allocations: 8.031 kB / 385.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.009697, allocations: 48.73 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.009917, allocations: 224.7 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.009932, allocations: 16.38 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.009976, allocations: 35.88 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.01023, allocations: 229 kB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.01024, allocations: 7.938 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.01026, allocations: 11.94 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.01027, allocations: 4 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.01038, allocations: 55.95 kB / 386.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009123/0.0113, allocations: 0.6972 MB / 387.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.0115, allocations: 154 kB / 387.3 MB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.01159, allocations: 71.34 kB / 387.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.01161, allocations: 4 kB / 387.4 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.01163, allocations: 37.39 kB / 387.5 MB, free: 9.027 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.203e-06/0.01163, allocations: 0 / 387.5 MB, free: 9.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004059/0.01204, allocations: 246.5 kB / 387.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.01207, allocations: 85.05 kB / 387.8 MB, free: 8.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/0.0123, allocations: 390.3 kB / 388.2 MB, free: 8.285 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.01232, allocations: 33.7 kB / 388.2 MB, free: 8.246 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.0124, allocations: 195.6 kB / 388.4 MB, free: 8.051 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.01246, allocations: 103.2 kB / 388.5 MB, free: 7.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.01257, allocations: 135.3 kB / 388.6 MB, free: 7.809 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.01269, allocations: 0.5235 MB / 389.1 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.01283, allocations: 109 kB / 389.2 MB, free: 7.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.01299, allocations: 169.2 kB / 389.4 MB, free: 6.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.01343, allocations: 436.2 kB / 389.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01343, allocations: 0 / 389.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.000448/0.01388, allocations: 432.3 kB / 390.3 MB, free: 6.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.0139, allocations: 5.719 kB / 390.3 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.01391, allocations: 8 kB / 390.3 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.01392, allocations: 0 / 390.3 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.01419, allocations: 95.88 kB / 390.4 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.0142, allocations: 7.984 kB / 390.4 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.111e-05/0.01429, allocations: 71.33 kB / 390.4 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.01431, allocations: 8 kB / 390.4 MB, free: 5.938 MB / 362.7 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.0001459/0.01445, allocations: 198.8 kB / 390.6 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.01451, allocations: 35.77 kB / 390.7 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.01455, allocations: 38.78 kB / 390.7 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01455, allocations: 4 kB / 390.7 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01456, allocations: 3.938 kB / 390.7 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.01456, allocations: 7.984 kB / 390.7 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.01477, allocations: 240.4 kB / 391 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.01477, allocations: 3.938 kB / 391 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.01495, allocations: 43.97 kB / 391 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01496, allocations: 4 kB / 391 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.01499, allocations: 8 kB / 391 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01499, allocations: 7.984 kB / 391 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01499, allocations: 0 / 391 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004299/0.01542, allocations: 0.5289 MB / 391.6 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.01545, allocations: 43.72 kB / 391.6 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.0155, allocations: 12 kB / 391.6 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.01561, allocations: 7.984 kB / 391.6 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.01566, allocations: 15.97 kB / 391.6 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.01567, allocations: 8 kB / 391.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.0158, allocations: 231 kB / 391.9 MB, free: 4.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0158, allocations: 0 / 391.9 MB, free: 4.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005042/0.0163, allocations: 259.6 kB / 392.1 MB, free: 4.195 MB / 362.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003685/0.01667, allocations: 283.4 kB / 392.4 MB, free: 3.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000416/0.01709, allocations: 415.3 kB / 392.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01709, allocations: 0 / 392.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.0172, allocations: 99.45 kB / 392.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.0175, allocations: 37.12 kB / 392.9 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009382/0.01844, allocations: 0.7298 MB / 393.7 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.951e-05/0.01851, allocations: 112.3 kB / 393.8 MB, free: 2.445 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.145e-05/0.0186, allocations: 41.91 kB / 393.8 MB, free: 2.402 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.01868, allocations: 32.42 kB / 393.9 MB, free: 2.371 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01868, allocations: 0 / 393.9 MB, free: 2.371 MB / 362.7 MB Notification: Performance of Templates: time 0.009632/0.02831, allocations: 7.554 MB / 401.4 MB, free: 10.86 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.366548416670412]