Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001842/0.001842, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002035/0.002035, allocations: 165.3 kB / 24.28 MB, free: 148 kB / 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3345/0.3345, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 375.2 MB, free: 4.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.937e-05/4.126e-05, allocations: 6.25 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.005774/0.005815, allocations: 1.823 MB / 377.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004322/0.01014, allocations: 1.329 MB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.01027, allocations: 3.938 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002498/0.01052, allocations: 31.72 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.01068, allocations: 31.72 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.01418, allocations: 0.693 MB / 379.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000533/0.01471, allocations: 235.3 kB / 379.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.01489, allocations: 28.58 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.01533, allocations: 147.6 kB / 379.6 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.01569, allocations: 147.7 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/0.01577, allocations: 24 kB / 379.7 MB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003903/0.01967, allocations: 1.22 MB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.01992, allocations: 115.7 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.02012, allocations: 83.75 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.02273, allocations: 1.211 MB / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.02274, allocations: 4 kB / 382.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02274, allocations: 0 / 382.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.02275, allocations: 3.938 kB / 382.4 MB, free: 13.83 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.002193/0.02494, allocations: 0.7673 MB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.02499, allocations: 8.031 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.02532, allocations: 52.67 kB / 383.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006532/0.02598, allocations: 232.7 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.155e-05/0.02601, allocations: 12.38 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.02612, allocations: 31.94 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.02685, allocations: 232.3 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.02687, allocations: 4 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.02692, allocations: 7.984 kB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.02693, allocations: 4 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005442/0.02747, allocations: 91.89 kB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.02996, allocations: 0.7323 MB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.03066, allocations: 166 kB / 384.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.03103, allocations: 91.33 kB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.813e-05/0.03108, allocations: 4 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.475e-05/0.03114, allocations: 37.83 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.134e-06/0.03115, allocations: 0 / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001422/0.03257, allocations: 281.2 kB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.03267, allocations: 81.11 kB / 385.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/0.03345, allocations: 438.3 kB / 385.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.03352, allocations: 29.7 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.03378, allocations: 203.6 kB / 385.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.03398, allocations: 111.2 kB / 385.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/0.03438, allocations: 163.3 kB / 386.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000506/0.03488, allocations: 0.5352 MB / 386.6 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.03543, allocations: 124.9 kB / 386.8 MB, free: 9.191 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.03606, allocations: 193.3 kB / 386.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.03781, allocations: 495.4 kB / 387.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.03781, allocations: 0 / 387.4 MB, free: 8.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001631/0.03945, allocations: 464.2 kB / 387.9 MB, free: 8.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.03947, allocations: 8 kB / 387.9 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.03951, allocations: 11.94 kB / 387.9 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.03953, allocations: 4 kB / 387.9 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000965/0.0405, allocations: 91.88 kB / 388 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.04051, allocations: 0 / 388 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.0409, allocations: 79.27 kB / 388.1 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.04096, allocations: 15.98 kB / 388.1 MB, free: 7.832 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.0004217/0.04138, allocations: 195.9 kB / 388.3 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.04155, allocations: 39.77 kB / 388.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.04173, allocations: 42.77 kB / 388.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.04173, allocations: 0 / 388.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.04175, allocations: 4 kB / 388.4 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.04175, allocations: 0 / 388.4 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007426/0.0425, allocations: 264.3 kB / 388.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.0425, allocations: 4 kB / 388.6 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007602/0.04326, allocations: 47.92 kB / 388.7 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.04327, allocations: 4 kB / 388.7 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.04334, allocations: 15.98 kB / 388.7 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.04335, allocations: 0 / 388.7 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.04335, allocations: 0 / 388.7 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.04495, allocations: 0.592 MB / 389.3 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.991e-05/0.04503, allocations: 27.75 kB / 389.3 MB, free: 6.547 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.04513, allocations: 15.98 kB / 389.3 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.04554, allocations: 4 kB / 389.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.04567, allocations: 27.95 kB / 389.4 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.04571, allocations: 4 kB / 389.4 MB, free: 6.496 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004599/0.04617, allocations: 247 kB / 389.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.04617, allocations: 0 / 389.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001471/0.04764, allocations: 267.5 kB / 389.9 MB, free: 5.992 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.0009241/0.04857, allocations: 283.3 kB / 390.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.05001, allocations: 448.1 kB / 390.6 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.05001, allocations: 4 kB / 390.6 MB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.05047, allocations: 111.5 kB / 390.7 MB, free: 5.129 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.05135, allocations: 40.94 kB / 390.7 MB, free: 5.094 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.0537, allocations: 0.7415 MB / 391.5 MB, free: 4.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.0541, allocations: 203.5 kB / 391.7 MB, free: 4.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.05441, allocations: 42.25 kB / 391.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.05459, allocations: 28.48 kB / 391.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.05459, allocations: 0 / 391.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of Templates: time 0.0251/0.07969, allocations: 6.673 MB / 398.4 MB, free: 13.39 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.142447997001]