Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.001975/0.001975, 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.002256/0.002256, allocations: 211.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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.2224/0.2224, allocations: 46.95 MB / 360.8 MB, free: 3.93 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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.004138/0.004138, allocations: 79.88 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3696, allocations: 66.09 MB / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003453/0.373, allocations: 1.667 MB / 0.5624 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.375, allocations: 0.9554 MB / 0.5633 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3751, allocations: 0 / 0.5633 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.3755, allocations: 63.72 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.3759, allocations: 103.6 kB / 0.5635 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.3761, allocations: 79.66 kB / 0.5635 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.3763, allocations: 111.7 kB / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.3764, allocations: 240 / 0.5637 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.3765, allocations: 51.77 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3766, allocations: 47.83 kB / 0.5638 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.3766, allocations: 4 kB / 0.5638 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3767, allocations: 35.91 kB / 0.5638 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.3768, allocations: 23.92 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.926e-05/0.3768, allocations: 19.81 kB / 0.5638 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.3771, allocations: 109.4 kB / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3771, allocations: 0 / 0.5639 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3771, allocations: 4 kB / 0.5639 GB, free: 0.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.55e-05/0.3771, allocations: 0 / 0.5639 GB, free: 0.75 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.0005855/0.3777, allocations: 337.6 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3777, allocations: 8.031 kB / 0.5643 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.3778, allocations: 34.69 kB / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.3778, allocations: 16.83 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3781, allocations: 151 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3781, allocations: 384 / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.3781, allocations: 4.375 kB / 0.5645 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3783, allocations: 53.78 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3783, allocations: 8 kB / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3783, allocations: 3.938 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3783, allocations: 0 / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.3784, allocations: 15.98 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.3786, allocations: 156.7 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3788, allocations: 54.61 kB / 0.5647 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.3788, allocations: 16.86 kB / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.3788, allocations: 0 / 0.5648 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.379, allocations: 75.31 kB / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.379, allocations: 0 / 0.5648 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000296/0.3793, allocations: 105.5 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.3793, allocations: 51.41 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3795, allocations: 202.3 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3796, allocations: 25.7 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.3796, allocations: 104.1 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3797, allocations: 15.84 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.3797, allocations: 25.7 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3799, allocations: 322.8 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.649e-05/0.3799, allocations: 16 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.38, allocations: 29.7 kB / 0.5657 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.3801, allocations: 49.64 kB / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3801, allocations: 0 / 0.5657 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001732/0.3803, allocations: 89.77 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3803, allocations: 7.938 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3803, allocations: 8.062 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3803, allocations: 0 / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.3804, allocations: 8 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3804, allocations: 4.031 kB / 0.5659 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.3804, allocations: 4 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3804, allocations: 3.984 kB / 0.5659 GB, free: 14.58 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.0001164/0.3805, allocations: 128.4 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.3806, allocations: 11.89 kB / 0.566 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.3808, allocations: 98.69 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.3808, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3808, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3808, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.381, allocations: 160.7 kB / 0.5662 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.381, allocations: 11.88 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.554e-05/0.381, allocations: 7.984 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.381, allocations: 0 / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.381, allocations: 4 kB / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.381, allocations: 0 / 0.5663 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.381, allocations: 4 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.3812, allocations: 109.1 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.484e-05/0.3812, allocations: 19.78 kB / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.3813, allocations: 0 / 0.5664 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.3813, allocations: 7.984 kB / 0.5664 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.3813, allocations: 8 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.3814, allocations: 7.984 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.3815, allocations: 148.2 kB / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3815, allocations: 0 / 0.5666 GB, free: 13.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.3817, allocations: 23.92 kB / 0.5666 GB, free: 13.76 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.002003/0.3837, allocations: 0.9746 MB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.3839, allocations: 43.92 kB / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3839, allocations: 0 / 0.5676 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.289e-05/0.384, allocations: 27.98 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.3842, allocations: 23.23 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.386, allocations: 1.518 MB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.57e-05/0.386, allocations: 93.19 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.504e-05/0.3861, allocations: 16.47 kB / 0.5692 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.3862, allocations: 39.42 kB / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3862, allocations: 0 / 0.5692 GB, free: 11.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.4151, allocations: 3.831 MB / 0.573 GB, free: 7.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.5, allocations: 4 kB / 0.573 GB, free: 7.234 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0197316 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.654279243201017]