Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001304/0.001304, allocations: 92.31 kB / 20.95 MB, free: 3.305 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.001346/0.001346, allocations: 152.9 kB / 24.26 MB, free: 0 / 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.8441/0.8441, allocations: 177 MB / 204.5 MB, free: 5.609 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.2206/0.2206, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 376.8 MB, free: 3.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.478e-05, allocations: 2.312 kB / 376.8 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002076/0.00209, allocations: 1.783 MB / 378.6 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.003803, allocations: 1.765 MB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.106e-05/0.003894, allocations: 3.938 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.004191, allocations: 55.62 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.004547, allocations: 135.3 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.004761, allocations: 119.5 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.004969, allocations: 215.2 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.005011, allocations: 5.812 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.00512, allocations: 111.7 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.005241, allocations: 59.81 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.005263, allocations: 8 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.005406, allocations: 111.8 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.536e-05/0.005462, allocations: 35.84 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.005508, allocations: 43.84 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.00575, allocations: 231.2 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.005752, allocations: 4 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005753, allocations: 4 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.005757, allocations: 0 / 381.4 MB, free: 14.63 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004704/0.006228, allocations: 424.9 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.006263, allocations: 8.031 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.006295, allocations: 38.67 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.006352, allocations: 24.8 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.006565, allocations: 189.4 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.006578, allocations: 4.375 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.006589, allocations: 4.375 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.006762, allocations: 157 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.006769, allocations: 4.125 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.00678, allocations: 8.109 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.006787, allocations: 4 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.006851, allocations: 31.97 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001541/0.007005, allocations: 181.7 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.007161, allocations: 105.2 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.007214, allocations: 41.7 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.007226, allocations: 0 / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.007365, allocations: 121 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.007366, allocations: 4 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002839/0.00765, allocations: 185.4 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.007697, allocations: 132.5 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.007872, allocations: 244.1 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.007885, allocations: 29.7 kB / 383.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.007932, allocations: 120.1 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.007963, allocations: 27.78 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.007997, allocations: 33.66 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.008071, allocations: 330.8 kB / 383.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.008119, allocations: 27.98 kB / 383.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.701e-05/0.008196, allocations: 128.5 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.008297, allocations: 91.36 kB / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.008299, allocations: 0 / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001588/0.008458, allocations: 154 kB / 384.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.008471, allocations: 8 kB / 384.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.008476, allocations: 3.938 kB / 384.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.008486, allocations: 0 / 384.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.008562, allocations: 23.98 kB / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.008567, allocations: 0 / 384.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.008618, allocations: 15.92 kB / 384.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.008626, allocations: 12 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 7.857e-05/0.008704, allocations: 129.8 kB / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.008735, allocations: 27.84 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.008931, allocations: 166.7 kB / 384.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.008934, allocations: 4 kB / 384.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.008938, allocations: 0 / 384.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.008941, allocations: 0 / 384.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.009055, allocations: 184.6 kB / 384.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.009058, allocations: 4 kB / 384.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.009081, allocations: 8 kB / 384.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.009084, allocations: 3.984 kB / 384.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.009094, allocations: 11.94 kB / 384.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.009096, allocations: 3.984 kB / 384.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009097, allocations: 0 / 384.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.009268, allocations: 197.7 kB / 385 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.009285, allocations: 11.91 kB / 385 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.009307, allocations: 15.92 kB / 385 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.321e-05/0.00934, allocations: 4 kB / 385.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.009376, allocations: 11.98 kB / 385.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.009389, allocations: 7.984 kB / 385.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.009506, allocations: 185.8 kB / 385.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009506, allocations: 0 / 385.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001878/0.009694, allocations: 59.86 kB / 385.3 MB, free: 10.38 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001034/0.01073, allocations: 1.143 MB / 386.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.01089, allocations: 91.83 kB / 386.5 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.0109, allocations: 4 kB / 386.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.01096, allocations: 51.89 kB / 386.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.01116, allocations: 63.7 kB / 386.7 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.01257, allocations: 1.923 MB / 388.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.787e-05/0.01262, allocations: 107.6 kB / 388.7 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.752e-05/0.01269, allocations: 37.97 kB / 388.7 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.46e-05/0.01277, allocations: 64.45 kB / 388.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01277, allocations: 0 / 388.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/0.03091, allocations: 6.428 MB / 395.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/6.981, allocations: 0 / 395.2 MB, free: 0.5039 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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: 8.869772784411907]