Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.001199/0.001199, allocations: 114 kB / 20.43 MB, free: 1.457 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.001364/0.001364, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.973 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.2274/0.2274, allocations: 46.93 MB / 360.8 MB, free: 4.152 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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 75.88 kB / 0.4963 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3621, allocations: 66.08 MB / 0.5608 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003388/0.3655, allocations: 1.841 MB / 0.5626 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3674, allocations: 1.115 MB / 0.5637 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.3675, allocations: 4 kB / 0.5637 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.368, allocations: 307.2 kB / 0.564 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004972/0.3685, allocations: 247.2 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.3688, allocations: 111.6 kB / 0.5643 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.3691, allocations: 259.2 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.3692, allocations: 13.8 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.3694, allocations: 135.5 kB / 0.5647 GB, free: 224 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.3697, allocations: 216 kB / 0.5649 GB, free: 8 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.3697, allocations: 4 kB / 0.5649 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.3698, allocations: 51.92 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.37, allocations: 136.5 kB / 0.5651 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.3702, allocations: 146.8 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005065/0.3707, allocations: 372.1 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3707, allocations: 0 / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.3707, allocations: 0 / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3707, allocations: 0 / 0.5656 GB, free: 15.31 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.001292/0.372, allocations: 0.6785 MB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.599e-05/0.3721, allocations: 8.031 kB / 0.5663 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.098e-05/0.3721, allocations: 42.73 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3722, allocations: 52.61 kB / 0.5664 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008421/0.3731, allocations: 386.6 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.3731, allocations: 8.359 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3731, allocations: 4.375 kB / 0.5667 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.3734, allocations: 91.42 kB / 0.5668 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3734, allocations: 4 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3734, allocations: 4 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.3734, allocations: 7.984 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3736, allocations: 23.98 kB / 0.5669 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.3741, allocations: 345.5 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.3744, allocations: 109.2 kB / 0.5673 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.3746, allocations: 29.7 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.3746, allocations: 4 kB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003449/0.3749, allocations: 120.9 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.3749, allocations: 4 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006169/0.3755, allocations: 201.2 kB / 0.5676 GB, free: 13.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/0.3756, allocations: 81.11 kB / 0.5677 GB, free: 12.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.377, allocations: 1.026 MB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.377, allocations: 29.7 kB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.3772, allocations: 236.1 kB / 0.569 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.3773, allocations: 23.84 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.3773, allocations: 25.72 kB / 0.569 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.3775, allocations: 370.8 kB / 0.5694 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3776, allocations: 27.98 kB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3778, allocations: 66.72 kB / 0.5695 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.378, allocations: 91.36 kB / 0.5695 GB, free: 11.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.378, allocations: 3.938 kB / 0.5695 GB, free: 11.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003873/0.3784, allocations: 177.8 kB / 0.5697 GB, free: 10.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.3784, allocations: 6.188 kB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3784, allocations: 0 / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.3784, allocations: 4 kB / 0.5697 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.3786, allocations: 19.98 kB / 0.5697 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.3786, allocations: 7.938 kB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.3788, allocations: 23.95 kB / 0.5698 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.3788, allocations: 4 kB / 0.5698 GB, free: 10.77 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0003636/0.3791, allocations: 224 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.3792, allocations: 55.61 kB / 0.57 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.3798, allocations: 193.8 kB / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3798, allocations: 0 / 0.5702 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3798, allocations: 4 kB / 0.5702 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3798, allocations: 4 kB / 0.5702 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.3802, allocations: 312.5 kB / 0.5705 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3802, allocations: 3.938 kB / 0.5705 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.113e-05/0.3803, allocations: 15.98 kB / 0.5706 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.3803, allocations: 4 kB / 0.5706 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3803, allocations: 0 / 0.5706 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.3803, allocations: 4 kB / 0.5706 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3803, allocations: 3.938 kB / 0.5706 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.3807, allocations: 217.5 kB / 0.5708 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3808, allocations: 67.53 kB / 0.5708 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.3809, allocations: 8 kB / 0.5708 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.381, allocations: 4 kB / 0.5709 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.381, allocations: 11.92 kB / 0.5709 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.381, allocations: 7.984 kB / 0.5709 GB, free: 9.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008647/0.3819, allocations: 0.7643 MB / 0.5716 GB, free: 8.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3819, allocations: 0 / 0.5716 GB, free: 8.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002773/0.3822, allocations: 44 kB / 0.5717 GB, free: 8.762 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.002173/0.3843, allocations: 1.048 MB / 0.5727 GB, free: 7.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.3846, allocations: 83.89 kB / 0.5728 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3846, allocations: 0 / 0.5728 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.3847, allocations: 43.91 kB / 0.5728 GB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3851, allocations: 73.27 kB / 0.5729 GB, free: 7.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/0.3907, allocations: 4.485 MB / 0.5773 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.3912, allocations: 0.8426 MB / 0.5781 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000129/0.3913, allocations: 62.92 kB / 0.5781 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.3915, allocations: 151.3 kB / 0.5783 GB, free: 1.953 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3915, allocations: 0 / 0.5783 GB, free: 1.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/0.4324, allocations: 9.208 MB / 0.5873 GB, free: 8.781 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.2, allocations: 7.938 kB / 0.5873 GB, free: 8.773 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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: 15.371034499003144]