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.001509/0.001509, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 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.001616/0.001616, allocations: 152.9 kB / 24.26 MB, free: 148 kB / 18.57 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.509/1.509, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3775/0.3775, allocations: 34.25 MB / 295.2 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 179] 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 2.324e-06/2.324e-06, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.962e-05/4.195e-05, allocations: 4.703 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.004123/0.004165, allocations: 1.799 MB / 379 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.006923, allocations: 1.302 MB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.007069, allocations: 7.938 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.007276, allocations: 31.66 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.00739, allocations: 31.72 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.009542, allocations: 0.6814 MB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.009914, allocations: 235.3 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.01005, allocations: 28.58 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005927/0.01064, allocations: 151.5 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.01088, allocations: 147.7 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.01095, allocations: 24 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.01332, allocations: 1.212 MB / 382.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.0135, allocations: 119.6 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.01368, allocations: 95.73 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.0159, allocations: 1.208 MB / 384.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.0159, allocations: 0 / 384.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.01591, allocations: 3.938 kB / 384.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.01592, allocations: 0 / 384.3 MB, free: 11.82 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.001976/0.0179, allocations: 0.6716 MB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.01794, allocations: 8.031 kB / 384.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.01828, allocations: 48.73 kB / 385 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.01875, allocations: 221.9 kB / 385.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.01877, allocations: 16.38 kB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/0.01886, allocations: 27.94 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006758/0.01954, allocations: 326.5 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01955, allocations: 0 / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.01958, allocations: 11.94 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.0196, allocations: 11.98 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.02011, allocations: 219.8 kB / 385.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.02173, allocations: 0.6405 MB / 386.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.02231, allocations: 288.9 kB / 386.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003779/0.02269, allocations: 185.6 kB / 386.9 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.02273, allocations: 4 kB / 386.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/0.02279, allocations: 38.5 kB / 387 MB, free: 8.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.02279, allocations: 4 kB / 387 MB, free: 8.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001313/0.0241, allocations: 0.5483 MB / 387.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.02418, allocations: 81.05 kB / 387.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.02468, allocations: 356.5 kB / 387.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.02473, allocations: 29.7 kB / 388 MB, free: 7.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.02487, allocations: 144.9 kB / 388.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.025, allocations: 103.2 kB / 388.2 MB, free: 7.684 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.02521, allocations: 117.7 kB / 388.3 MB, free: 7.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003854/0.02559, allocations: 346.8 kB / 388.7 MB, free: 7.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.02612, allocations: 292.9 kB / 388.9 MB, free: 6.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.0267, allocations: 339.5 kB / 389.3 MB, free: 6.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004221/0.03093, allocations: 1.765 MB / 391 MB, free: 4.816 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.03093, allocations: 0 / 391 MB, free: 4.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00148/0.03241, allocations: 0.7854 MB / 391.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.03244, allocations: 4 kB / 391.8 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.03247, allocations: 4 kB / 391.8 MB, free: 4.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.03249, allocations: 4 kB / 391.8 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.03304, allocations: 99.86 kB / 391.9 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.03305, allocations: 0 / 391.9 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002699/0.03332, allocations: 71.28 kB / 392 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.03336, allocations: 15.98 kB / 392 MB, free: 3.828 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.0003265/0.03369, allocations: 184.8 kB / 392.2 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.03381, allocations: 39.77 kB / 392.2 MB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.03394, allocations: 42.77 kB / 392.3 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.03395, allocations: 4 kB / 392.3 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.03396, allocations: 0 / 392.3 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.03396, allocations: 0 / 392.3 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005023/0.03446, allocations: 253 kB / 392.5 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.03447, allocations: 4 kB / 392.5 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/0.03485, allocations: 43.92 kB / 392.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.03486, allocations: 4 kB / 392.6 MB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.0349, allocations: 11.98 kB / 392.6 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.03491, allocations: 7.938 kB / 392.6 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.03491, allocations: 0 / 392.6 MB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.0363, allocations: 0.7509 MB / 393.4 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.03636, allocations: 31.88 kB / 393.4 MB, free: 2.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.03642, allocations: 16 kB / 393.4 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.03666, allocations: 15.92 kB / 393.4 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.03676, allocations: 15.97 kB / 393.4 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.03679, allocations: 12 kB / 393.4 MB, free: 2.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002887/0.03708, allocations: 215 kB / 393.7 MB, free: 2.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.03708, allocations: 0 / 393.7 MB, free: 2.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001043/0.03812, allocations: 263.5 kB / 393.9 MB, free: 1.879 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.0008887/0.03901, allocations: 279.4 kB / 394.2 MB, free: 1.594 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.04037, allocations: 0.6663 MB / 394.8 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.04037, allocations: 0 / 394.8 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.04075, allocations: 187.8 kB / 395 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.04133, allocations: 49.25 kB / 395.1 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.04319, allocations: 0.872 MB / 396 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.04348, allocations: 199.5 kB / 396.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.0437, allocations: 65.89 kB / 396.2 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.04381, allocations: 28.5 kB / 396.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.04381, allocations: 0 / 396.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of Templates: time 0.01598/0.05979, allocations: 6.666 MB / 402.9 MB, free: 8.836 MB / 378.7 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.1.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.096202936023474]