Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001275/0.001275, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001536/0.001536, allocations: 214 kB / 23.73 MB, free: 4.406 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.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.2294/0.2294, allocations: 46.94 MB / 360.8 MB, free: 3.926 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.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 83.86 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3768, allocations: 66.08 MB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003957/0.3807, allocations: 1.712 MB / 0.5624 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.3826, allocations: 0.9904 MB / 0.5634 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.3827, allocations: 3.938 kB / 0.5634 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.383, allocations: 39.83 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.3834, allocations: 99.53 kB / 0.5635 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.3836, allocations: 79.69 kB / 0.5636 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.3839, allocations: 111.6 kB / 0.5637 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.384, allocations: 17.8 kB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.69e-05/0.3841, allocations: 39.8 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3842, allocations: 47.77 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3842, allocations: 4 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.3844, allocations: 107.9 kB / 0.5639 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.3845, allocations: 19.88 kB / 0.5639 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.73e-05/0.3845, allocations: 39.78 kB / 0.564 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.3849, allocations: 171.4 kB / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3849, allocations: 0 / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3849, allocations: 0 / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3849, allocations: 0 / 0.5641 GB, free: 0.5312 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006757/0.3856, allocations: 365.4 kB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3856, allocations: 8.031 kB / 0.5645 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.3857, allocations: 38.69 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.3857, allocations: 8.891 kB / 0.5645 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.386, allocations: 154.3 kB / 0.5647 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.386, allocations: 12.38 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.3861, allocations: 384 / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3863, allocations: 97.22 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3863, allocations: 8 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3863, allocations: 3.938 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3863, allocations: 0 / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.349e-05/0.3864, allocations: 27.92 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.3868, allocations: 244 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.387, allocations: 66.59 kB / 0.5651 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.3871, allocations: 28.97 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3871, allocations: 0 / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.3873, allocations: 75.33 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3873, allocations: 4 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006387/0.3879, allocations: 209.2 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.388, allocations: 81.11 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.3882, allocations: 170.1 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3882, allocations: 29.7 kB / 0.5657 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.3882, allocations: 100.1 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.3883, allocations: 35.75 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.3883, allocations: 29.7 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3885, allocations: 330.8 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.3886, allocations: 27.98 kB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.3887, allocations: 88.19 kB / 0.5663 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3888, allocations: 77.64 kB / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3888, allocations: 0 / 0.5664 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002312/0.3891, allocations: 121.6 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3891, allocations: 8.062 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3891, allocations: 0 / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3891, allocations: 4 kB / 0.5665 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3892, allocations: 19.98 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3892, allocations: 0 / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.363e-05/0.3893, allocations: 8 kB / 0.5665 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.3893, allocations: 11.92 kB / 0.5665 GB, free: 13.85 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 (13): * Single equations (assignments): 13 * 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.0001127/0.3894, allocations: 125.8 kB / 0.5666 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.3894, allocations: 11.91 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.3897, allocations: 134.3 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3897, allocations: 4 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3897, allocations: 0 / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3897, allocations: 0 / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.3903, allocations: 402.3 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3903, allocations: 0 / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.041e-05/0.3903, allocations: 15.98 kB / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3903, allocations: 3.938 kB / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3903, allocations: 8 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3903, allocations: 0 / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3903, allocations: 7.969 kB / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.3906, allocations: 228.5 kB / 0.5674 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.3906, allocations: 11.91 kB / 0.5674 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.3907, allocations: 7.938 kB / 0.5674 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.3908, allocations: 4 kB / 0.5674 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.3908, allocations: 11.98 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3908, allocations: 7.984 kB / 0.5675 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.391, allocations: 127.1 kB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.391, allocations: 4 kB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.3913, allocations: 51.86 kB / 0.5676 GB, free: 12.62 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: 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 (11): * Single equations (assignments): 9 * 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.002657/0.3939, allocations: 1.246 MB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002312/0.3942, allocations: 83.84 kB / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3942, allocations: 64 / 0.5689 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.762e-05/0.3943, allocations: 39.92 kB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.3946, allocations: 27.97 kB / 0.569 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.3966, allocations: 1.685 MB / 0.5706 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.356e-05/0.3967, allocations: 85.31 kB / 0.5707 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.736e-05/0.3968, allocations: 32.67 kB / 0.5708 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.936e-05/0.3968, allocations: 39.42 kB / 0.5708 GB, free: 9.453 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3968, allocations: 0 / 0.5708 GB, free: 9.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.4276, allocations: 4.956 MB / 0.5756 GB, free: 4.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.55, allocations: 3.609 kB / 0.5756 GB, free: 4.5 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_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_Test66_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.71717615891248]