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.0008195/0.0008195, allocations: 92.27 kB / 20.96 MB, free: 3.465 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.0008603/0.0008603, allocations: 152.9 kB / 24.27 MB, free: 168 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 0.9342/0.9342, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] 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.2554/0.2554, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.16e-05, allocations: 8.781 kB / 376.7 MB, free: 3.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002956/0.002978, allocations: 1.799 MB / 378.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.005151, allocations: 1.306 MB / 379.8 MB, free: 268 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.00527, allocations: 7.938 kB / 379.8 MB, free: 260 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.005464, allocations: 35.66 kB / 379.9 MB, free: 224 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.28e-05/0.005547, allocations: 31.72 kB / 379.9 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.00734, allocations: 0.6814 MB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.007633, allocations: 239.3 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.007769, allocations: 32.56 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.008011, allocations: 131.6 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.008204, allocations: 147.7 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.008255, allocations: 24 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.01001, allocations: 1.224 MB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.01014, allocations: 123.6 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.01025, allocations: 91.73 kB / 382.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.01132, allocations: 1.204 MB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.01133, allocations: 4 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01133, allocations: 0 / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.01133, allocations: 0 / 383.8 MB, free: 12.29 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.0009999/0.01233, allocations: 0.6677 MB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.01239, allocations: 8.031 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.01244, allocations: 50.73 kB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.01262, allocations: 48.73 kB / 384.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.0129, allocations: 221.9 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.01292, allocations: 16.12 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.01297, allocations: 27.95 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.01333, allocations: 330.5 kB / 385.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.01333, allocations: 4 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.01335, allocations: 4 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.01336, allocations: 4 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.01362, allocations: 227.7 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/0.01448, allocations: 0.6751 MB / 386 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.01478, allocations: 284.9 kB / 386.3 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.01497, allocations: 189.6 kB / 386.5 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.01499, allocations: 8 kB / 386.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.01502, allocations: 38.56 kB / 386.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.01502, allocations: 0 / 386.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008032/0.01582, allocations: 0.5366 MB / 387.1 MB, free: 8.805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.01587, allocations: 85.05 kB / 387.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.01612, allocations: 360.5 kB / 387.5 MB, free: 8.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.01614, allocations: 33.7 kB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.01621, allocations: 141 kB / 387.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.01627, allocations: 103.1 kB / 387.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.01637, allocations: 121.7 kB / 387.9 MB, free: 7.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.01645, allocations: 350.8 kB / 388.3 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.01682, allocations: 288.8 kB / 388.5 MB, free: 7.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.01708, allocations: 335.5 kB / 388.9 MB, free: 6.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.01912, allocations: 1.761 MB / 390.6 MB, free: 5.199 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01912, allocations: 7.938 kB / 390.6 MB, free: 5.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006941/0.01981, allocations: 0.7738 MB / 391.4 MB, free: 4.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.01983, allocations: 8 kB / 391.4 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.01985, allocations: 4 kB / 391.4 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.01986, allocations: 0 / 391.4 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.02011, allocations: 99.88 kB / 391.5 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.02012, allocations: 3.938 kB / 391.5 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.02022, allocations: 67.39 kB / 391.6 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.02024, allocations: 16 kB / 391.6 MB, free: 4.215 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.00016/0.0204, allocations: 191 kB / 391.8 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.02045, allocations: 39.77 kB / 391.8 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/0.02049, allocations: 38.78 kB / 391.9 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.02049, allocations: 0 / 391.9 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.0205, allocations: 11.94 kB / 391.9 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.02051, allocations: 3.984 kB / 391.9 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.02075, allocations: 264.5 kB / 392.1 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.02075, allocations: 4 kB / 392.1 MB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.02093, allocations: 47.91 kB / 392.2 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.02094, allocations: 7.938 kB / 392.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.02096, allocations: 11.98 kB / 392.2 MB, free: 3.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.02096, allocations: 4 kB / 392.2 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.02096, allocations: 3.938 kB / 392.2 MB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006603/0.02162, allocations: 0.7565 MB / 393 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.02165, allocations: 23.81 kB / 393 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.02168, allocations: 19.98 kB / 393 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.02179, allocations: 8 kB / 393 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.02184, allocations: 23.89 kB / 393 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.02186, allocations: 8 kB / 393.1 MB, free: 2.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.02199, allocations: 219 kB / 393.3 MB, free: 2.477 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02199, allocations: 4 kB / 393.3 MB, free: 2.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000502/0.02249, allocations: 255.8 kB / 393.5 MB, free: 2.223 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.001205/0.02369, allocations: 1.466 MB / 395 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007043/0.0244, allocations: 0.671 MB / 395.7 MB, free: 32 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.0244, allocations: 0 / 395.7 MB, free: 32 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.0246, allocations: 183.8 kB / 395.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.02493, allocations: 52.33 kB / 395.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.02858, allocations: 4.508 MB / 400.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.02871, allocations: 203.4 kB / 400.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.02882, allocations: 70.23 kB / 400.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.02896, allocations: 108.5 kB / 400.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02896, allocations: 0 / 400.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.05418, allocations: 11.27 MB / 412 MB, free: 15.71 MB / 394.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 7.214/7.268, allocations: 8.047 kB / 412.1 MB, free: 15.7 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_OMSimulator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_OMSimulator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_OMSimulator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_OMSimulator_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2_OMSimulator_fmu --startTime=0 --stopTime=0.02 --stepSize=3.9976e-06 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_OMSimulator.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_fmpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_fmpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_fmpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_fmpy_res.csv --start-time 0 --stop-time 0.02 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.9976e-06 ModelicaTest_trunk_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 9.311733052018099]