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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 111.3 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 189.4 kB / 22.98 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3008/0.3008, allocations: 44.23 MB / 330.2 MB, free: 9.566 MB / 270.1 MB " [Timeout remaining time 179] 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 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 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=5003,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=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 78.66 kB / 467.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1371, allocations: 61.02 MB / 0.5166 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003679/0.1408, allocations: 1.869 MB / 0.5184 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.1433, allocations: 1.4 MB / 0.5198 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1434, allocations: 4 kB / 0.5198 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1435, allocations: 35.66 kB / 0.5198 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.757e-05/0.1436, allocations: 23.72 kB / 0.5198 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.1456, allocations: 0.6742 MB / 0.5205 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.1461, allocations: 307.2 kB / 0.5208 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1462, allocations: 40.5 kB / 0.5208 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.1464, allocations: 119.6 kB / 0.5209 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.1467, allocations: 171.5 kB / 0.5211 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.144e-05/0.1468, allocations: 24 kB / 0.5211 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.1491, allocations: 1.361 MB / 0.5224 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.1493, allocations: 123.6 kB / 0.5226 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.1495, allocations: 139.2 kB / 0.5227 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.1512, allocations: 1.098 MB / 0.5238 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1512, allocations: 3.938 kB / 0.5238 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1512, allocations: 0 / 0.5238 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1512, allocations: 0 / 0.5238 GB, free: 15.49 MB / 414.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.001691/0.1529, allocations: 0.656 MB / 0.5244 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.153, allocations: 8.031 kB / 0.5244 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1531, allocations: 36.7 kB / 0.5244 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.1535, allocations: 226.2 kB / 0.5247 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.1535, allocations: 16 kB / 0.5247 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.1536, allocations: 23.95 kB / 0.5247 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.1541, allocations: 271.2 kB / 0.525 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1542, allocations: 3.938 kB / 0.525 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.1542, allocations: 12 kB / 0.525 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1542, allocations: 0 / 0.525 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.1547, allocations: 231.7 kB / 0.5252 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.1561, allocations: 0.718 MB / 0.5259 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.1567, allocations: 284.9 kB / 0.5262 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.1571, allocations: 185.6 kB / 0.5263 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.1572, allocations: 4 kB / 0.5263 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.1572, allocations: 46.88 kB / 0.5264 GB, free: 12.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 4.568e-06/0.1572, allocations: 3.984 kB / 0.5264 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001353/0.1586, allocations: 0.5368 MB / 0.5269 GB, free: 12.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.1586, allocations: 81.11 kB / 0.527 GB, free: 12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005024/0.1591, allocations: 352.6 kB / 0.5273 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.1592, allocations: 33.7 kB / 0.5274 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.1593, allocations: 141 kB / 0.5275 GB, free: 11.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.1595, allocations: 103.1 kB / 0.5276 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.1597, allocations: 117.7 kB / 0.5277 GB, free: 11.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002396/0.1599, allocations: 350.8 kB / 0.528 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/0.1605, allocations: 284.8 kB / 0.5283 GB, free: 10.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.1611, allocations: 343.3 kB / 0.5286 GB, free: 10.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/0.1651, allocations: 1.768 MB / 0.5304 GB, free: 8.492 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1651, allocations: 0 / 0.5304 GB, free: 8.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001304/0.1664, allocations: 0.7621 MB / 0.5311 GB, free: 7.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1665, allocations: 4 kB / 0.5311 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/0.1665, allocations: 8 kB / 0.5311 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.298e-05/0.1665, allocations: 11.88 kB / 0.5311 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.1671, allocations: 95.88 kB / 0.5312 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.1671, allocations: 4 kB / 0.5312 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.1674, allocations: 67.39 kB / 0.5313 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.1674, allocations: 12 kB / 0.5313 GB, free: 7.523 MB / 414.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.000348/0.1677, allocations: 197.1 kB / 0.5315 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1679, allocations: 27.81 kB / 0.5315 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.168, allocations: 42.66 kB / 0.5316 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.168, allocations: 0 / 0.5316 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/0.168, allocations: 4 kB / 0.5316 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.168, allocations: 3.984 kB / 0.5316 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.1686, allocations: 304.5 kB / 0.5319 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1686, allocations: 0 / 0.5319 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.169, allocations: 55.91 kB / 0.5319 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.169, allocations: 4 kB / 0.5319 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.169, allocations: 15.92 kB / 0.5319 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.169, allocations: 4 kB / 0.5319 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.169, allocations: 3.938 kB / 0.5319 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.1701, allocations: 0.741 MB / 0.5327 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.1702, allocations: 27.89 kB / 0.5327 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.1703, allocations: 23.92 kB / 0.5327 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.1705, allocations: 4 kB / 0.5327 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.1706, allocations: 19.97 kB / 0.5327 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.1706, allocations: 7.984 kB / 0.5327 GB, free: 5.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002455/0.1708, allocations: 227 kB / 0.533 GB, free: 5.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1708, allocations: 0 / 0.533 GB, free: 5.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009395/0.1718, allocations: 255.6 kB / 0.5332 GB, free: 5.5 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 () * 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.0008006/0.1726, allocations: 262.6 kB / 0.5335 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1737, allocations: 0.6509 MB / 0.5341 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1737, allocations: 0 / 0.5341 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.174, allocations: 191.8 kB / 0.5343 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005735/0.1746, allocations: 48.98 kB / 0.5343 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.1762, allocations: 0.9686 MB / 0.5353 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.1767, allocations: 0.8067 MB / 0.5361 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.1769, allocations: 62.25 kB / 0.5361 GB, free: 2.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.177, allocations: 23.44 kB / 0.5361 GB, free: 2.414 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.177, allocations: 0 / 0.5361 GB, free: 2.414 MB / 414.1 MB Notification: Performance of Templates: time 0.2705/0.4475, allocations: 6.716 MB / 0.5427 GB, free: 27.9 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.0975719364359975]