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.001371/0.001371, allocations: 108.3 kB / 20.48 MB, free: 0.9805 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.001518/0.001518, allocations: 218.7 kB / 23.78 MB, free: 4.215 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.519/1.519, allocations: 230.5 MB / 257.5 MB, free: 7.707 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.2402/0.2402, allocations: 46.95 MB / 360.9 MB, free: 3.875 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.002305/0.002305, allocations: 75.88 kB / 0.4963 GB, free: 7.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3705, allocations: 66.09 MB / 0.5608 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003425/0.3739, allocations: 1.716 MB / 0.5625 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.3758, allocations: 0.9904 MB / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.3759, allocations: 0 / 0.5635 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.3762, allocations: 39.77 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.3766, allocations: 95.56 kB / 0.5636 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.3768, allocations: 79.72 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.377, allocations: 115.6 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3771, allocations: 13.8 kB / 0.5638 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.3772, allocations: 47.8 kB / 0.5639 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.3773, allocations: 39.77 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3773, allocations: 8 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.3775, allocations: 111.9 kB / 0.564 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.3776, allocations: 19.92 kB / 0.564 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.3777, allocations: 23.86 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.378, allocations: 187.2 kB / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.378, allocations: 0 / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.378, allocations: 0 / 0.5642 GB, free: 468 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.378, allocations: 0 / 0.5642 GB, free: 468 kB / 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.0006739/0.3787, allocations: 357.4 kB / 0.5646 GB, free: 80 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3787, allocations: 12.03 kB / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.3787, allocations: 34.75 kB / 0.5646 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.3788, allocations: 12.88 kB / 0.5646 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.3792, allocations: 150.4 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3792, allocations: 8.297 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.3792, allocations: 12.31 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.3794, allocations: 101.2 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3794, allocations: 0 / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3795, allocations: 0 / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3795, allocations: 4 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.3796, allocations: 15.98 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.38, allocations: 248 kB / 0.5651 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.3802, allocations: 66.55 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.075e-05/0.3803, allocations: 28.97 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3803, allocations: 4 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.3805, allocations: 71.38 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3805, allocations: 0 / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006671/0.3811, allocations: 217.2 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.3812, allocations: 81.09 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.3814, allocations: 174.2 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3814, allocations: 25.8 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.3815, allocations: 100.1 kB / 0.5659 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.3815, allocations: 35.72 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.389e-05/0.3816, allocations: 33.7 kB / 0.5659 GB, free: 14.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3817, allocations: 326.8 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.3818, allocations: 27.98 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.3819, allocations: 84.27 kB / 0.5664 GB, free: 14.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3821, allocations: 81.62 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3821, allocations: 0 / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002391/0.3823, allocations: 125.6 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3823, allocations: 6.344 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3823, allocations: 8 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3824, allocations: 0 / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3825, allocations: 23.98 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3825, allocations: 0 / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.3825, allocations: 4 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3825, allocations: 3.938 kB / 0.5666 GB, free: 13.79 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.0001104/0.3827, allocations: 125.8 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.3827, allocations: 15.91 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.383, allocations: 138.8 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.383, allocations: 8 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.383, allocations: 4 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.383, allocations: 0 / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.3836, allocations: 398.2 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3836, allocations: 0 / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.3836, allocations: 12 kB / 0.5673 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3836, allocations: 3.938 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3836, allocations: 3.984 kB / 0.5673 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3836, allocations: 4 kB / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3836, allocations: 0 / 0.5673 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.3839, allocations: 236.4 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.384, allocations: 15.89 kB / 0.5675 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.384, allocations: 7.938 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.3841, allocations: 4 kB / 0.5675 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.3841, allocations: 7.984 kB / 0.5675 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3841, allocations: 4.094 kB / 0.5676 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3843, allocations: 139 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3843, allocations: 0 / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003236/0.3846, allocations: 55.86 kB / 0.5677 GB, free: 12.54 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.002694/0.3873, allocations: 1.242 MB / 0.569 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.3875, allocations: 75.84 kB / 0.569 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3875, allocations: 0 / 0.569 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.531e-05/0.3876, allocations: 40.05 kB / 0.5691 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.388, allocations: 38.61 kB / 0.5691 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3901, allocations: 1.686 MB / 0.5707 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.3902, allocations: 93.38 kB / 0.5708 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.168e-05/0.3903, allocations: 20.64 kB / 0.5709 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.978e-05/0.3904, allocations: 44.42 kB / 0.5709 GB, free: 9.375 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3904, allocations: 0 / 0.5709 GB, free: 9.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.4227, allocations: 5.047 MB / 0.5758 GB, free: 4.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 0 / 0.5758 GB, free: 4.34 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.931327596015763]