Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001778/0.001778, allocations: 215.8 kB / 23 MB, free: 5.57 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.91 MB / 359.4 MB, free: 4.863 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 75.88 kB / 0.4946 GB, free: 8.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4054, allocations: 65.99 MB / 0.5591 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003366/0.4088, allocations: 1.867 MB / 0.5609 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.4112, allocations: 1.424 MB / 0.5623 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.4114, allocations: 3.938 kB / 0.5623 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.4116, allocations: 31.72 kB / 0.5623 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.4117, allocations: 35.66 kB / 0.5624 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.4137, allocations: 0.576 MB / 0.5629 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.4141, allocations: 283.2 kB / 0.5632 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.4143, allocations: 32.28 kB / 0.5632 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.4145, allocations: 115.6 kB / 0.5633 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.4148, allocations: 183.5 kB / 0.5635 GB, free: 492 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.4149, allocations: 24 kB / 0.5635 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.4164, allocations: 0.928 MB / 0.5644 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.4166, allocations: 119.6 kB / 0.5645 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.4168, allocations: 143.2 kB / 0.5647 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.4184, allocations: 1.073 MB / 0.5657 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4184, allocations: 0 / 0.5657 GB, free: 14.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4184, allocations: 0 / 0.5657 GB, free: 14.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.4184, allocations: 7.938 kB / 0.5657 GB, free: 14.19 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.001573/0.42, allocations: 0.7457 MB / 0.5665 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.42, allocations: 8.031 kB / 0.5665 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.4202, allocations: 40.69 kB / 0.5665 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.4207, allocations: 284.1 kB / 0.5668 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.4207, allocations: 19.94 kB / 0.5668 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.991e-05/0.4208, allocations: 27.95 kB / 0.5668 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.4213, allocations: 263.2 kB / 0.5671 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4213, allocations: 4 kB / 0.5671 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.4213, allocations: 4 kB / 0.5671 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4213, allocations: 4 kB / 0.5671 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.4218, allocations: 230.3 kB / 0.5673 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.4231, allocations: 0.7541 MB / 0.568 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.4236, allocations: 289.1 kB / 0.5683 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.424, allocations: 189.8 kB / 0.5685 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.424, allocations: 4 kB / 0.5685 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/0.4241, allocations: 42.44 kB / 0.5686 GB, free: 11.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.333e-06/0.4241, allocations: 0 / 0.5686 GB, free: 11.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001124/0.4252, allocations: 0.5369 MB / 0.5691 GB, free: 10.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.4253, allocations: 89.05 kB / 0.5692 GB, free: 10.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003952/0.4257, allocations: 344.5 kB / 0.5695 GB, free: 10.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.4257, allocations: 33.64 kB / 0.5695 GB, free: 10.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.4258, allocations: 144.9 kB / 0.5697 GB, free: 9.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.4259, allocations: 111.1 kB / 0.5698 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.4261, allocations: 121.4 kB / 0.5699 GB, free: 9.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.4263, allocations: 350.8 kB / 0.5702 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/0.4268, allocations: 280.9 kB / 0.5705 GB, free: 9.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005006/0.4273, allocations: 343.5 kB / 0.5708 GB, free: 8.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00364/0.4309, allocations: 1.762 MB / 0.5725 GB, free: 6.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4309, allocations: 0 / 0.5725 GB, free: 6.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001224/0.4322, allocations: 0.766 MB / 0.5733 GB, free: 6.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4322, allocations: 4 kB / 0.5733 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.4322, allocations: 4 kB / 0.5733 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.4322, allocations: 7.938 kB / 0.5733 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.4328, allocations: 99.86 kB / 0.5734 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.4328, allocations: 7.938 kB / 0.5734 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.433, allocations: 63.36 kB / 0.5735 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.433, allocations: 19.98 kB / 0.5735 GB, free: 6.004 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.0002865/0.4333, allocations: 177.8 kB / 0.5736 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-05/0.4334, allocations: 27.81 kB / 0.5737 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.4335, allocations: 46.64 kB / 0.5737 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4335, allocations: 4 kB / 0.5737 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.4335, allocations: 8 kB / 0.5737 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4335, allocations: 0 / 0.5737 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.434, allocations: 337.3 kB / 0.5741 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4341, allocations: 4 kB / 0.5741 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.4344, allocations: 47.91 kB / 0.5741 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.4344, allocations: 7.984 kB / 0.5741 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.4345, allocations: 15.92 kB / 0.5741 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4345, allocations: 4 kB / 0.5741 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4345, allocations: 0 / 0.5741 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.4356, allocations: 0.7408 MB / 0.5748 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.136e-05/0.4357, allocations: 113 kB / 0.575 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.888e-05/0.4358, allocations: 19.92 kB / 0.575 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.436, allocations: 7.984 kB / 0.575 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.4361, allocations: 19.92 kB / 0.575 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.4361, allocations: 11.98 kB / 0.575 GB, free: 4.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002605/0.4364, allocations: 223 kB / 0.5752 GB, free: 4.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4364, allocations: 3.938 kB / 0.5752 GB, free: 4.102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008857/0.4373, allocations: 251.7 kB / 0.5755 GB, free: 3.855 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.0005542/0.4378, allocations: 252.6 kB / 0.5757 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.4389, allocations: 0.6613 MB / 0.5764 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4389, allocations: 7.938 kB / 0.5764 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000331/0.4392, allocations: 191.8 kB / 0.5765 GB, free: 2.723 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.4397, allocations: 41 kB / 0.5766 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.4412, allocations: 0.9581 MB / 0.5775 GB, free: 1.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.4418, allocations: 0.8028 MB / 0.5783 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.4419, allocations: 66.25 kB / 0.5784 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.442, allocations: 27.42 kB / 0.5784 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.442, allocations: 0 / 0.5784 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of Templates: time 0.01337/0.4554, allocations: 6.627 MB / 0.5849 GB, free: 10.16 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.7289022309705615]