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.001468/0.001468, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001173/0.001173, allocations: 170 kB / 24.91 MB, free: 8.695 MB / 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 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2531/0.2531, allocations: 34.26 MB / 296.1 MB, free: 0.7305 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.532e-06/1.532e-06, allocations: 0 / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.307e-05, allocations: 5.469 kB / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002364/0.002388, allocations: 1.898 MB / 327.2 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.003881, allocations: 1.345 MB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.003952, allocations: 4 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.004061, allocations: 27.72 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.87e-05/0.00411, allocations: 35.72 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009805/0.005091, allocations: 0.6586 MB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.005272, allocations: 235.2 kB / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.005357, allocations: 42.95 kB / 329.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.005505, allocations: 131.8 kB / 329.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.005638, allocations: 151.7 kB / 329.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.005669, allocations: 24 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.006856, allocations: 1.267 MB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.882e-05/0.006945, allocations: 123.6 kB / 331.2 MB, free: 1.723 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/0.007013, allocations: 95.72 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008064/0.00782, allocations: 1.133 MB / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.007821, allocations: 0 / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.007822, allocations: 0 / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.007826, allocations: 0 / 332.4 MB, free: 0.4922 MB / 298.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.000653/0.008479, allocations: 0.6208 MB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.008507, allocations: 12.03 kB / 333.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.008628, allocations: 36.91 kB / 333.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.008829, allocations: 201.8 kB / 333.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.008841, allocations: 12.38 kB / 333.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.008882, allocations: 35.88 kB / 333.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.009087, allocations: 214.2 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.009095, allocations: 3.938 kB / 333.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.009109, allocations: 7.984 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.009116, allocations: 4 kB / 333.6 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.14e-05/0.009198, allocations: 47.47 kB / 333.6 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.009716, allocations: 492.8 kB / 334.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.009874, allocations: 216.2 kB / 334.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.209e-05/0.009936, allocations: 49.72 kB / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.009955, allocations: 4 kB / 334.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.009976, allocations: 38.55 kB / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.322e-06/0.009977, allocations: 448 / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002698/0.01025, allocations: 159.8 kB / 334.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.01028, allocations: 92.97 kB / 334.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.01044, allocations: 310.9 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.01046, allocations: 37.7 kB / 335 MB, free: 13.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.01051, allocations: 136.8 kB / 335.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.01057, allocations: 99.16 kB / 335.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.01066, allocations: 113.6 kB / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.01074, allocations: 354.7 kB / 335.7 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.598e-05/0.01083, allocations: 75.81 kB / 335.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.01093, allocations: 123.4 kB / 335.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.01123, allocations: 354.6 kB / 336.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01123, allocations: 0 / 336.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002757/0.01151, allocations: 301 kB / 336.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.01152, allocations: 6.5 kB / 336.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.01154, allocations: 8 kB / 336.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01155, allocations: 0 / 336.5 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.01185, allocations: 103.9 kB / 336.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01186, allocations: 4 kB / 336.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.01194, allocations: 63.36 kB / 336.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.01196, allocations: 8 kB / 336.7 MB, free: 12 MB / 314.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.0001351/0.0121, allocations: 154.2 kB / 336.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.01214, allocations: 15.98 kB / 336.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.01219, allocations: 38.78 kB / 336.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01219, allocations: 4 kB / 336.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.01219, allocations: 3.984 kB / 336.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.0122, allocations: 3.984 kB / 336.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/0.01237, allocations: 161.7 kB / 337.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01237, allocations: 3.938 kB / 337.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.01255, allocations: 47.91 kB / 337.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.01256, allocations: 7.938 kB / 337.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.01258, allocations: 12 kB / 337.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.01258, allocations: 4 kB / 337.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01259, allocations: 3.984 kB / 337.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.01291, allocations: 468.8 kB / 337.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.364e-05/0.01293, allocations: 35.64 kB / 337.6 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.01297, allocations: 19.98 kB / 337.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.816e-05/0.01307, allocations: 4 kB / 337.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.01311, allocations: 15.97 kB / 337.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01312, allocations: 8 kB / 337.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.519e-05/0.01318, allocations: 104.6 kB / 337.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01318, allocations: 0 / 337.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.01357, allocations: 247.7 kB / 338 MB, free: 10.61 MB / 314.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.0003322/0.01391, allocations: 280.5 kB / 338.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003175/0.01422, allocations: 352.2 kB / 338.6 MB, free: 9.965 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.01423, allocations: 0 / 338.6 MB, free: 9.965 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.01431, allocations: 73.47 kB / 338.7 MB, free: 9.891 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.01457, allocations: 53.05 kB / 338.8 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008272/0.0154, allocations: 0.735 MB / 339.5 MB, free: 9.074 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.69e-05/0.01547, allocations: 116.3 kB / 339.6 MB, free: 8.938 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.4e-05/0.01555, allocations: 29.94 kB / 339.6 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.0157, allocations: 91.36 kB / 339.7 MB, free: 8.82 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.0157, allocations: 0 / 339.7 MB, free: 8.82 MB / 314.7 MB Notification: Performance of Templates: time 0.008845/0.02454, allocations: 7.496 MB / 347.2 MB, free: 1.375 MB / 314.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 -s gbode -gbm=radauIIA3 -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.07428543176502]