Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001789/0.001789, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002278/0.002278, allocations: 212.8 kB / 23.73 MB, free: 4.164 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.456/1.456, 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.2266/0.2266, allocations: 46.95 MB / 360.8 MB, free: 4.023 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.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 79.88 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3777, allocations: 66.08 MB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003165/0.3809, allocations: 1.679 MB / 0.5624 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3826, allocations: 0.9554 MB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.3827, allocations: 0 / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.383, allocations: 51.77 kB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.3833, allocations: 99.59 kB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.3834, allocations: 79.66 kB / 0.5635 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.3836, allocations: 95.7 kB / 0.5636 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.3837, allocations: 8.234 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.3837, allocations: 47.77 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.3838, allocations: 23.86 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3838, allocations: 4 kB / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.3839, allocations: 35.92 kB / 0.5637 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.427e-05/0.384, allocations: 27.91 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.351e-05/0.384, allocations: 31.75 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3843, allocations: 129.2 kB / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3843, allocations: 0 / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3843, allocations: 0 / 0.5639 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3843, allocations: 0 / 0.5639 GB, free: 0.7266 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.0006218/0.3849, allocations: 369.3 kB / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3849, allocations: 12.03 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.385, allocations: 34.69 kB / 0.5643 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.385, allocations: 12.89 kB / 0.5643 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.3853, allocations: 167.2 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3853, allocations: 4.375 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.3853, allocations: 4.375 kB / 0.5645 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3854, allocations: 49.8 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.3855, allocations: 0 / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3855, allocations: 0 / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3855, allocations: 4 kB / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.725e-05/0.3856, allocations: 16.05 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.3858, allocations: 156.7 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.3859, allocations: 54.55 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.386, allocations: 24.84 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.386, allocations: 0 / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.3862, allocations: 71.33 kB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.3862, allocations: 0 / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000287/0.3864, allocations: 105.5 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.3865, allocations: 59.41 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.3868, allocations: 270.8 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3868, allocations: 29.7 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.3869, allocations: 112.1 kB / 0.5654 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.3869, allocations: 19.84 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.387, allocations: 21.7 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3871, allocations: 334.8 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.208e-05/0.3872, allocations: 15.98 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.3872, allocations: 25.7 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.3873, allocations: 45.66 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3873, allocations: 0 / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001749/0.3875, allocations: 97.77 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3875, allocations: 8 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3875, allocations: 7.969 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3875, allocations: 0 / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.136e-05/0.3876, allocations: 11.94 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3876, allocations: 7.984 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.3877, allocations: 3.953 kB / 0.566 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3877, allocations: 4 kB / 0.566 GB, free: 14.4 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.0001226/0.3878, allocations: 133.8 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.3878, allocations: 15.84 kB / 0.5661 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.388, allocations: 106.7 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3881, allocations: 4 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3881, allocations: 0 / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3881, allocations: 0 / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3882, allocations: 164.7 kB / 0.5664 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3882, allocations: 3.938 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.3883, allocations: 4 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3883, allocations: 4 kB / 0.5664 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3883, allocations: 4 kB / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3883, allocations: 0 / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3883, allocations: 0 / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.3885, allocations: 121 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.3885, allocations: 23.83 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.3885, allocations: 0 / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.3886, allocations: 4 kB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.3886, allocations: 11.92 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3886, allocations: 4.188 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.3888, allocations: 200.6 kB / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3888, allocations: 0 / 0.5668 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.389, allocations: 27.92 kB / 0.5668 GB, free: 13.5 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.002023/0.3911, allocations: 0.9848 MB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.3912, allocations: 39.92 kB / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3912, allocations: 0 / 0.5678 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.419e-05/0.3913, allocations: 19.98 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3916, allocations: 32.22 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3936, allocations: 1.694 MB / 0.5695 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.3937, allocations: 117.6 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.218e-05/0.3937, allocations: 16.47 kB / 0.5696 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.323e-05/0.3938, allocations: 43.42 kB / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3938, allocations: 0 / 0.5697 GB, free: 10.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.424, allocations: 4.155 MB / 0.5737 GB, free: 6.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.49, allocations: 11.8 kB / 0.5737 GB, free: 6.438 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.593966335058212]