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.001172/0.001172, allocations: 115.5 kB / 20.48 MB, free: 1.129 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.001471/0.001471, allocations: 212.2 kB / 23.77 MB, free: 4.199 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.418/1.418, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2241/0.2241, allocations: 46.93 MB / 360.8 MB, free: 3.922 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.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 0.002296/0.002296, allocations: 79.88 kB / 0.4963 GB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2978, allocations: 66.09 MB / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003651/0.3015, allocations: 1.786 MB / 0.5626 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.3045, allocations: 1.723 MB / 0.5642 GB, free: 472 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.526e-05/0.3046, allocations: 7.938 kB / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.3049, allocations: 51.69 kB / 0.5643 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004244/0.3053, allocations: 143.4 kB / 0.5644 GB, free: 268 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.3056, allocations: 107.6 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.3059, allocations: 207.4 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.279e-05/0.3059, allocations: 9.812 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.3061, allocations: 87.62 kB / 0.5648 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.3063, allocations: 75.56 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.3063, allocations: 8 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.3065, allocations: 119.9 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.3066, allocations: 35.84 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.3066, allocations: 47.73 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.307, allocations: 236.8 kB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.307, allocations: 0 / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.307, allocations: 0 / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.307, allocations: 0 / 0.5653 GB, free: 15.34 MB / 414.1 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.0007465/0.3078, allocations: 429 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3078, allocations: 8.031 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.323e-05/0.3079, allocations: 34.73 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/0.3079, allocations: 16.84 kB / 0.5658 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.3083, allocations: 198.1 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3083, allocations: 4.375 kB / 0.566 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3083, allocations: 4.312 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.3086, allocations: 156.6 kB / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3086, allocations: 0 / 0.5661 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.3086, allocations: 15.91 kB / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3086, allocations: 0 / 0.5662 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3087, allocations: 35.92 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.3089, allocations: 177.6 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.3092, allocations: 113.2 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.383e-05/0.3093, allocations: 37.7 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3093, allocations: 4 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.3096, allocations: 116.9 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.3096, allocations: 0 / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004893/0.3101, allocations: 173.9 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.967e-05/0.3102, allocations: 140.5 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.3104, allocations: 242.3 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.3105, allocations: 29.7 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.3106, allocations: 116.1 kB / 0.5673 GB, free: 13.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.3106, allocations: 31.73 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.3106, allocations: 29.72 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3108, allocations: 330.8 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.3109, allocations: 28.11 kB / 0.5677 GB, free: 12.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.311, allocations: 132.5 kB / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.3112, allocations: 99.38 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3112, allocations: 0 / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002864/0.3115, allocations: 141.5 kB / 0.568 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3115, allocations: 7.984 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3115, allocations: 0 / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3116, allocations: 4 kB / 0.5681 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3117, allocations: 19.94 kB / 0.5681 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3117, allocations: 3.984 kB / 0.5681 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.704e-05/0.3118, allocations: 20.02 kB / 0.5681 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3118, allocations: 4 kB / 0.5681 GB, free: 12.2 MB / 414.1 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 0.0001267/0.3119, allocations: 129.8 kB / 0.5682 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.312, allocations: 19.84 kB / 0.5682 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.3123, allocations: 162.8 kB / 0.5684 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3123, allocations: 64 / 0.5684 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3123, allocations: 7.938 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3123, allocations: 4 kB / 0.5684 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.3125, allocations: 192.5 kB / 0.5686 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3125, allocations: 11.88 kB / 0.5686 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.3126, allocations: 11.98 kB / 0.5686 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3126, allocations: 4 kB / 0.5686 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3126, allocations: 0 / 0.5686 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3126, allocations: 0 / 0.5686 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3126, allocations: 4 kB / 0.5686 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.3129, allocations: 181.8 kB / 0.5688 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.3129, allocations: 19.8 kB / 0.5688 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.313, allocations: 15.92 kB / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.3131, allocations: 8 kB / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.3131, allocations: 11.98 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.3131, allocations: 7.984 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.3133, allocations: 184.5 kB / 0.569 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3133, allocations: 0 / 0.569 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.3136, allocations: 63.8 kB / 0.5691 GB, free: 11.09 MB / 414.1 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.002332/0.316, allocations: 1.135 MB / 0.5702 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.3162, allocations: 87.83 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3162, allocations: 128 / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.3163, allocations: 48.34 kB / 0.5703 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.3167, allocations: 54.02 kB / 0.5704 GB, free: 9.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3191, allocations: 1.916 MB / 0.5723 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.72e-05/0.3192, allocations: 111.4 kB / 0.5724 GB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000102/0.3193, allocations: 33.45 kB / 0.5724 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3194, allocations: 63.34 kB / 0.5725 GB, free: 7.68 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3194, allocations: 0 / 0.5725 GB, free: 7.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.353, allocations: 6.303 MB / 0.5786 GB, free: 1.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.43, allocations: 7.438 kB / 0.5786 GB, free: 1.402 MB / 414.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/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: 14.44509385100173]