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.0009807/0.0009807, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001029/0.001029, allocations: 163 kB / 24.99 MB, free: 8.758 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.586 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.2811/0.2811, allocations: 34.26 MB / 296 MB, free: 0.707 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.683e-06/1.683e-06, allocations: 0 / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.085e-05, allocations: 2.312 kB / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002361/0.002382, allocations: 1.846 MB / 379.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.004029, allocations: 1.337 MB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.974e-05/0.004129, allocations: 11.94 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.004307, allocations: 27.78 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.956e-05/0.004367, allocations: 35.66 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.005713, allocations: 0.6737 MB / 381.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.005954, allocations: 243.2 kB / 382.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.006094, allocations: 32.52 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.006307, allocations: 135.7 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001643/0.006472, allocations: 151.7 kB / 382.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.00651, allocations: 20 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.007668, allocations: 1.224 MB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.00777, allocations: 115.7 kB / 383.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.007846, allocations: 91.73 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008771/0.008724, allocations: 1.13 MB / 385.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.008726, allocations: 3.938 kB / 385.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.008726, allocations: 0 / 385.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.008731, allocations: 0 / 385.1 MB, free: 11.88 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.0007647/0.009496, allocations: 0.7598 MB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.009533, allocations: 8.031 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.009671, allocations: 48.73 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.009904, allocations: 232.6 kB / 386.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.009918, allocations: 12.38 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.009962, allocations: 35.88 kB / 386.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.01022, allocations: 233 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.01023, allocations: 0 / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.01024, allocations: 4 kB / 386.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.01025, allocations: 4 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01037, allocations: 75.12 kB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/0.01109, allocations: 0.6894 MB / 387.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.01129, allocations: 150 kB / 387.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.885e-05/0.01138, allocations: 71.34 kB / 387.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.01141, allocations: 4 kB / 387.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.01143, allocations: 45.77 kB / 387.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.01143, allocations: 0 / 387.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004253/0.01186, allocations: 245.9 kB / 387.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.01189, allocations: 81.11 kB / 387.7 MB, free: 9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.01214, allocations: 394.3 kB / 388.1 MB, free: 8.602 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.01216, allocations: 33.7 kB / 388.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.872e-05/0.01225, allocations: 195.6 kB / 388.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/0.01231, allocations: 99.19 kB / 388.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.01242, allocations: 135.3 kB / 388.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01256, allocations: 0.5235 MB / 389.1 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.01271, allocations: 109 kB / 389.2 MB, free: 7.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.01287, allocations: 165.3 kB / 389.4 MB, free: 7.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.01333, allocations: 436.1 kB / 389.8 MB, free: 6.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01333, allocations: 0 / 389.8 MB, free: 6.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0004473/0.01378, allocations: 435.3 kB / 390.2 MB, free: 6.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.01379, allocations: 8 kB / 390.2 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.01381, allocations: 8 kB / 390.2 MB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.01383, allocations: 3.938 kB / 390.2 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.0141, allocations: 95.88 kB / 390.3 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.01411, allocations: 4 kB / 390.3 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.355e-05/0.0142, allocations: 71.33 kB / 390.4 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.01422, allocations: 15.98 kB / 390.4 MB, free: 6.25 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.0001584/0.01438, allocations: 198.8 kB / 390.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.01443, allocations: 39.77 kB / 390.7 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.01448, allocations: 38.78 kB / 390.7 MB, free: 5.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01448, allocations: 4 kB / 390.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01449, allocations: 0 / 390.7 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.01449, allocations: 7.984 kB / 390.7 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.01472, allocations: 236.3 kB / 390.9 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01472, allocations: 0 / 390.9 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.01491, allocations: 55.91 kB / 391 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01492, allocations: 0 / 391 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.01495, allocations: 8 kB / 391 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01495, allocations: 4 kB / 391 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01495, allocations: 3.984 kB / 391 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.01539, allocations: 0.5294 MB / 391.5 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.01541, allocations: 27.75 kB / 391.6 MB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.01544, allocations: 19.92 kB / 391.6 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.01555, allocations: 7.984 kB / 391.6 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.0156, allocations: 23.97 kB / 391.6 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.01561, allocations: 4 kB / 391.6 MB, free: 4.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.01573, allocations: 231 kB / 391.8 MB, free: 4.766 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01573, allocations: 0 / 391.8 MB, free: 4.766 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004443/0.01618, allocations: 259.6 kB / 392.1 MB, free: 4.512 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.0003509/0.01653, allocations: 279.4 kB / 392.4 MB, free: 4.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004074/0.01693, allocations: 412.2 kB / 392.8 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01694, allocations: 4 kB / 392.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.01704, allocations: 91.58 kB / 392.9 MB, free: 3.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.01734, allocations: 35.33 kB / 392.9 MB, free: 3.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.01826, allocations: 0.7419 MB / 393.6 MB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.662e-05/0.01833, allocations: 116.3 kB / 393.8 MB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.935e-05/0.01842, allocations: 50.23 kB / 393.8 MB, free: 2.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.01849, allocations: 20.5 kB / 393.8 MB, free: 2.688 MB / 362.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01849, allocations: 0 / 393.8 MB, free: 2.688 MB / 362.7 MB Notification: Performance of Templates: time 0.007719/0.02621, allocations: 6.676 MB / 400.5 MB, free: 12.05 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.323322705924511]