Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.001827/0.001827, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002211/0.002211, allocations: 202.2 kB / 23.72 MB, free: 4.391 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.444/1.444, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2244/0.2244, allocations: 46.95 MB / 360.8 MB, free: 4.016 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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 79.88 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3111, allocations: 66.09 MB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00332/0.3144, allocations: 1.67 MB / 0.5624 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3161, allocations: 0.9514 MB / 0.5633 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.3161, allocations: 0 / 0.5633 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3164, allocations: 59.8 kB / 0.5634 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.3167, allocations: 111.5 kB / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00017/0.3169, allocations: 71.75 kB / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.3171, allocations: 111.6 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.3171, allocations: 8.219 kB / 0.5637 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.3172, allocations: 43.8 kB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3173, allocations: 47.81 kB / 0.5637 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3173, allocations: 4 kB / 0.5637 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.403e-05/0.3174, allocations: 35.92 kB / 0.5638 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.3175, allocations: 27.84 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.3175, allocations: 19.88 kB / 0.5638 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.3177, allocations: 109.4 kB / 0.5639 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3177, allocations: 4 kB / 0.5639 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3177, allocations: 0 / 0.5639 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3177, allocations: 0 / 0.5639 GB, free: 0.7188 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.0005253/0.3183, allocations: 341.6 kB / 0.5643 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3183, allocations: 12.02 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.3183, allocations: 30.75 kB / 0.5643 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.3184, allocations: 16.78 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.3186, allocations: 143.1 kB / 0.5645 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.3186, allocations: 384 / 0.5645 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.3187, allocations: 12.36 kB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3188, allocations: 53.8 kB / 0.5645 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3188, allocations: 4 kB / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3188, allocations: 0 / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3188, allocations: 0 / 0.5645 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.951e-05/0.3189, allocations: 15.98 kB / 0.5645 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/0.3191, allocations: 152.7 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3193, allocations: 54.55 kB / 0.5647 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.3193, allocations: 20.84 kB / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.3193, allocations: 0 / 0.5648 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.3195, allocations: 79.33 kB / 0.5648 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.3195, allocations: 0 / 0.5648 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002776/0.3198, allocations: 101.5 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.3198, allocations: 51.41 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.32, allocations: 206.3 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.32, allocations: 25.7 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.3201, allocations: 108.1 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3201, allocations: 19.83 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.3202, allocations: 17.72 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3203, allocations: 326.8 kB / 0.5656 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.3204, allocations: 19.98 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.3205, allocations: 21.72 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.3206, allocations: 53.58 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3206, allocations: 0 / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001764/0.3207, allocations: 93.52 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3208, allocations: 4 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3208, allocations: 4 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3208, allocations: 0 / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.3209, allocations: 15.97 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3209, allocations: 0 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.664e-05/0.3209, allocations: 7.984 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.3209, allocations: 0 / 0.5659 GB, free: 14.54 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.0001125/0.321, allocations: 124 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.321, allocations: 11.89 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.3213, allocations: 102.7 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3213, allocations: 0 / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3213, allocations: 384 / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3213, allocations: 0 / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.3214, allocations: 164.7 kB / 0.5662 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3214, allocations: 7.938 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.3215, allocations: 4 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3215, allocations: 0 / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.3215, allocations: 0 / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3215, allocations: 0 / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3215, allocations: 4 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.3217, allocations: 109.1 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.3217, allocations: 23.83 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3217, allocations: 0 / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.3218, allocations: 8 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.3218, allocations: 7.922 kB / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3218, allocations: 7.984 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.322, allocations: 148.2 kB / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.322, allocations: 0 / 0.5666 GB, free: 13.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.3222, allocations: 23.94 kB / 0.5666 GB, free: 13.73 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 (6): * Single equations (assignments): 4 * 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.002015/0.3242, allocations: 0.9794 MB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.3244, allocations: 43.91 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3244, allocations: 4.062 kB / 0.5676 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.3244, allocations: 16 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3247, allocations: 31.91 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.3265, allocations: 1.52 MB / 0.5691 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.833e-05/0.3266, allocations: 93.25 kB / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.652e-05/0.3267, allocations: 16.48 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.3267, allocations: 35.42 kB / 0.5692 GB, free: 11.01 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3267, allocations: 0 / 0.5692 GB, free: 11.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.3562, allocations: 3.832 MB / 0.573 GB, free: 7.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.74, allocations: 10.66 kB / 0.573 GB, free: 7.195 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.74430082179606]