Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.001231/0.001231, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 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.001512/0.001512, allocations: 214 kB / 23.74 MB, free: 4.66 MB / 14.72 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.469/1.469, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 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.2248/0.2248, allocations: 46.92 MB / 360.8 MB, free: 4.172 MB / 286.1 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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 83.86 kB / 0.4963 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.299, allocations: 66.07 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002996/0.302, allocations: 1.696 MB / 0.5624 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.3037, allocations: 1.025 MB / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.34e-05/0.3038, allocations: 0 / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.3041, allocations: 55.75 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.3044, allocations: 107.5 kB / 0.5636 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.3046, allocations: 63.75 kB / 0.5637 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3048, allocations: 119.6 kB / 0.5638 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.3048, allocations: 4.234 kB / 0.5638 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3049, allocations: 47.78 kB / 0.5638 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.305, allocations: 43.77 kB / 0.5639 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.305, allocations: 4 kB / 0.5639 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.103e-05/0.3051, allocations: 31.98 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.794e-05/0.3052, allocations: 23.91 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.3052, allocations: 31.75 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3054, allocations: 105.4 kB / 0.5641 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3054, allocations: 0 / 0.5641 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3054, allocations: 4 kB / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3054, allocations: 0 / 0.5641 GB, free: 0.8984 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005192/0.3059, allocations: 337.6 kB / 0.5644 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.306, allocations: 8.031 kB / 0.5644 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.306, allocations: 34.73 kB / 0.5644 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.306, allocations: 12.89 kB / 0.5644 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.3063, allocations: 151.6 kB / 0.5646 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3063, allocations: 4.375 kB / 0.5646 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.3063, allocations: 8.312 kB / 0.5646 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3065, allocations: 49.8 kB / 0.5646 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3065, allocations: 0 / 0.5646 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3065, allocations: 4 kB / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3065, allocations: 0 / 0.5646 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.556e-05/0.3066, allocations: 15.98 kB / 0.5647 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.3067, allocations: 148.8 kB / 0.5648 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3069, allocations: 58.56 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.307, allocations: 16.84 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.307, allocations: 3.938 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.3072, allocations: 75.31 kB / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.3072, allocations: 0 / 0.565 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000285/0.3075, allocations: 93.62 kB / 0.565 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.3075, allocations: 59.34 kB / 0.5651 GB, free: 15.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.3077, allocations: 183.2 kB / 0.5653 GB, free: 15.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3077, allocations: 29.7 kB / 0.5653 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.3078, allocations: 100.1 kB / 0.5654 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.3078, allocations: 7.953 kB / 0.5654 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.3078, allocations: 21.72 kB / 0.5654 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.308, allocations: 318.8 kB / 0.5657 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.308, allocations: 15.98 kB / 0.5657 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.509e-05/0.3081, allocations: 29.72 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.665e-05/0.3082, allocations: 41.7 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3082, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001645/0.3083, allocations: 89.47 kB / 0.5659 GB, free: 14.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3083, allocations: 7.984 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3083, allocations: 0 / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3084, allocations: 4.031 kB / 0.5659 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.3084, allocations: 19.94 kB / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3084, allocations: 3.938 kB / 0.5659 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.3085, allocations: 4 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3085, allocations: 0 / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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 0.0001032/0.3086, allocations: 121.8 kB / 0.5661 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.3086, allocations: 11.89 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.3088, allocations: 90.72 kB / 0.5661 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3088, allocations: 4.375 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3088, allocations: 0 / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3089, allocations: 0 / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.309, allocations: 164.6 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.309, allocations: 3.938 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.309, allocations: 7.938 kB / 0.5663 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.309, allocations: 0 / 0.5663 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.309, allocations: 4 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.309, allocations: 0 / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.309, allocations: 0 / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.3092, allocations: 109.1 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.3092, allocations: 15.88 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.3093, allocations: 3.984 kB / 0.5664 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.024e-05/0.3093, allocations: 8 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.3093, allocations: 0 / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3093, allocations: 4 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.3095, allocations: 140.8 kB / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3095, allocations: 0 / 0.5666 GB, free: 14.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.3097, allocations: 16 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001887/0.3116, allocations: 0.9572 MB / 0.5675 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.3117, allocations: 43.91 kB / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3117, allocations: 0 / 0.5676 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.033e-05/0.3118, allocations: 20.06 kB / 0.5676 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.3121, allocations: 31.28 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.3138, allocations: 1.477 MB / 0.5691 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3141, allocations: 0.704 MB / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.3141, allocations: 16.48 kB / 0.5698 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.3142, allocations: 31.42 kB / 0.5698 GB, free: 10.72 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3142, allocations: 0 / 0.5698 GB, free: 10.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.3426, allocations: 3.259 MB / 0.573 GB, free: 7.504 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.45, allocations: 9.469 kB / 0.573 GB, free: 7.5 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059952 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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: 14.502384236999205]